This project is archived and is in readonly mode.
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
-
Luke Cowell February 8th, 2010 @ 04:23 PM
Should be marked as resolved. Generator now creates scaffold.css file.
-
Prem Sichanugrist (sikachu) February 8th, 2010 @ 07:07 PM
- State changed from new to resolved
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>