Rails 3.2 issue - layout generation
bashcoder opened this issue · 4 comments
This command:
rails g nifty:layout --haml
generates this file:
public/stylesheets/sass/application.sass
However, in rails 3.2 this file is expected to be in this location:
app/assets/stylesheets/application.sass
I also note that just using $ rails g nifty:layout
that the application.html.erb includes the following line:
<%= javascript_include_tag :default %>
I believe it should now be:
<%= javascript_include_tag "application" %>
at least that is the change I had to make, in order to get the "delete" option, which used javascript calls, to work.
Ryan: Perhaps you are not using the nifty-generators any longer? (or at least not using the layout feature?) I imagine this issue crept in a while ago.
This change worked for me too.
Same issue with .erb template, nifty generator put application.css in /public folder, which should be in /assets folder, manually move the file, it works with the blue/white page.
the .erb template change worked for me too