Ruby on Rails Monday, November 28, 2011

Hi Everyone,

I was going through the Rails tutorial from here:

http://ruby.railstutorial.org/chapters/filling-in-the-layout#top

I was getting this exception on my WebRick server:

Started GET "/assets/blueprint/print.css" for 127.0.0.1 at 2011-11-28
14:43:00 +0530
Served asset /blueprint/print.css - 404 Not Found (0ms)

ActionController::RoutingError (No route matches [GET]
"/assets/blueprint/print.css"):

Now i would like to know that when the server is looking under the
assets folder then does it mean that it is the assets folder inside app?
Or do i have to place the assets folder under root application
directory?

The guide says to put it under the /public folder. I am a but confused.
The images, css nothing is being picked up by the browser.

I am on WinXP with Rails 3.1.3.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment