Permalink
Browse files

Fix a bit precompile and lazy compile comments

  • Loading branch information...
1 parent 171881f commit 7d4321711ebb99d2669c02b2030ade0de69655af @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
@@ -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 7d43217

Please sign in to comment.