Solved

rails 3 scaffold showing strange links

Posted on 2010-11-15
1
542 Views
Last Modified: 2012-05-10
after generating a post scaffold the normal "New post" and "Edit" links have the path included in the link

so

<%= link_to 'New post', new_post_path %> actually outputs this on the screen:

New post (/posts/new)

the html is normal

<a href="/posts/new">New post</a>

i've never seen this before
0
Comment
Question by:depassion
1 Comment
 

Accepted Solution

by:
depassion earned 0 total points
ID: 34153132
this is solved, it was the print stylesheet that was included by accident, the print stylesheet displays the path to the link.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Hi,      I've been learning Spring and Jersey for the past few months and to say in simple, i am pretty much impressed with these frameworks. Many developers feel it awkward to implement a RESTful Web Services with such a popular Web Application Fr…
In Ruby, Call or invoke a API DLL library is easily via Win32API class, win32-api gem or other gems. For general DLL API call, there are quite a few references, some good tips list below: http://www.rubytips.org/2008/05/13/accessing-windows-api-fro…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now