Skip to content

Instantly share code, notes, and snippets.

@trivektor
Created May 26, 2012 05:32
Show Gist options
  • Select an option

  • Save trivektor/2792423 to your computer and use it in GitHub Desktop.

Select an option

Save trivektor/2792423 to your computer and use it in GitHub Desktop.
Turn off auto assets generation in Rails 3.1+
1/ rails generate controller controller_name --assets=false
or
2/ Add these lines to application.rb:
config.generators.stylesheets = false
config.generators.javascripts = false
@loveybot
Copy link

Yay Ruby!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment