?
Solved

rails 3 scaffold showing strange links

Posted on 2010-11-15
1
Medium Priority
?
571 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: narshlob
If you've ever programmed in Ruby and have come across either a proc or a lambda, you might have been wondering what the difference is between the two and when you would use one over the other. This article will try to explain the difference between…
WHY MVC is the future technology... As many of you know, MVC is Model,View,Controller pattern. Model View Controller pattern was invented in a Smalltalk context at Xerox in late 1970s. Why is this buzz about MVC: --------------------------- …
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…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month15 days, 9 hours left to enroll

850 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