Browse files

Fix a bit precompile and lazy compile comments

  • Loading branch information...
1 parent e63d3f7 commit 5f05642df9d3f41866a0fa5b824677a72f3d8d6d @spastorino spastorino committed Aug 4, 2011
Showing with 2 additions and 4 deletions.
  1. +2 −4 railties/lib/rails/generators/rails/app/templates/config/application.rb
View
6 railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -12,12 +12,10 @@
<%= 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

0 comments on commit 5f05642

Please sign in to comment.