diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-08-03 21:04:32 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-08-03 21:05:36 -0300 |
commit | 7d4321711ebb99d2669c02b2030ade0de69655af (patch) | |
tree | 2b3306470810226c6a9165ce7836521ed074487f | |
parent | 171881f610fdff1903b2bdd1c8894cbe1ab98303 (diff) | |
download | rails-7d4321711ebb99d2669c02b2030ade0de69655af.tar.gz rails-7d4321711ebb99d2669c02b2030ade0de69655af.tar.bz2 rails-7d4321711ebb99d2669c02b2030ade0de69655af.zip |
Fix a bit precompile and lazy compile comments
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/application.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/application.rb b/railties/lib/rails/generators/rails/app/templates/config/application.rb index dd0cf64650..86c9bd2d1d 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/application.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/application.rb @@ -12,12 +12,10 @@ require "active_resource/railtie" <%= comment_if :skip_test_unit %>require "rails/test_unit/railtie" <% end -%> -# If you have a Gemfile, require the default gems, the ones in the -# current environment and also include :assets gems if you ... if defined?(Bundler) - # ... precompile your assets + # If you precompile assets before deploying to production, use this line Bundler.require *Rails.groups(:assets => %w(development test)) - # ... want your assets to be lazily compiled also in production + # If you want your assets lazily compiled in production, use this line # Bundler.require(:default, :assets, Rails.env) end |