Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Rails 3.2 issue - layout generation #145

Open
bashcoder opened this issue Feb 1, 2012 · 4 comments
Open

Rails 3.2 issue - layout generation #145

bashcoder opened this issue Feb 1, 2012 · 4 comments

Comments

@bashcoder
Copy link

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
@metajunkie
Copy link

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.

@srt32
Copy link

srt32 commented Mar 3, 2013

This change worked for me too.

@Apiaceae
Copy link

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.

@kiidbrian
Copy link

the .erb template change worked for me too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants