small medium large xlarge

02 May 2010, 15:26
Dominik H. (2 posts)

Hey there!

I’m on page 106 and I just copied the application.html.erb to my app/views/layouts folder.

Line 5 seems to be causing trouble, I get this error message:

ActionController::RoutingError (No route matches "/stylesheets/application.css"):

I didn’t create this css file so I can understand why the server can’t find this file but why is it included in the layout?

03 May 2010, 02:56
Sam Ruby (634 posts)

Unfortunately, that was a change made between beta2 and beta3 of Rails that I didn’t catch. Sorry about that. application.html.erb should be referring to scaffold.css. This correction will make the next beta of the book.

You must be logged in to comment