This project is archived and is in readonly mode.

#3756 ✓resolved
Luke Cowell

scaffold generator creates layout file that links to non-existent css file

Reported by Luke Cowell | January 20th, 2010 @ 04:21 PM

I run:

./script/generate scaffold Book title:string

It creates a layout file that includes:

<%= stylesheet_link_tag 'scaffold' %>

Which generates the following in the logs:

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

The expected behaviour is that if it generates a layout file linking to a css file, the css file should be there.

Ruby version 1.8.7 (universal-darwin10.0)
RubyGems version 1.3.5
Rack version 1.1
Rails version 3.0.pre
Edge Rails revision 87bcf1aa15f8edb4287e1916b65a2c523f765e86

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>