Created
May 26, 2012 05:32
-
-
Save trivektor/2792423 to your computer and use it in GitHub Desktop.
Turn off auto assets generation in Rails 3.1+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1/ rails generate controller controller_name --assets=false | |
| or | |
| 2/ Add these lines to application.rb: | |
| config.generators.stylesheets = false | |
| config.generators.javascripts = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yay Ruby!!