diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-08-03 21:04:32 -0300 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-08-13 16:22:28 -0700 |
commit | f2ea1ddc278d5466f3d3b7c8feb73aa9c78d2628 (patch) | |
tree | 720feb482eca1a2b4a27855180a2e90d84b2424d /railties | |
parent | eaee18dd9abe6a72e83743009931f7765a005f24 (diff) | |
download | rails-f2ea1ddc278d5466f3d3b7c8feb73aa9c78d2628.tar.gz rails-f2ea1ddc278d5466f3d3b7c8feb73aa9c78d2628.tar.bz2 rails-f2ea1ddc278d5466f3d3b7c8feb73aa9c78d2628.zip |
Fix a bit precompile and lazy compile comments
Diffstat (limited to 'railties')
-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 |