diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-20 16:58:15 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-20 16:58:15 +0200 |
commit | 2c3ebc00b768b9f580ce7367dd96e8f41a1420dc (patch) | |
tree | 4920e60dd4a907ae7dde14c2766cb9194f5eeb28 /railties/lib/generator/templates/app/config/environment.rb | |
parent | 181feecfb9343781ac03b724a34242257f35e1e6 (diff) | |
download | rails-2c3ebc00b768b9f580ce7367dd96e8f41a1420dc.tar.gz rails-2c3ebc00b768b9f580ce7367dd96e8f41a1420dc.tar.bz2 rails-2c3ebc00b768b9f580ce7367dd96e8f41a1420dc.zip |
More tests to app generator.
Diffstat (limited to 'railties/lib/generator/templates/app/config/environment.rb')
-rw-r--r-- | railties/lib/generator/templates/app/config/environment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generator/templates/app/config/environment.rb b/railties/lib/generator/templates/app/config/environment.rb index 6a4db65e8f..d1080cb529 100644 --- a/railties/lib/generator/templates/app/config/environment.rb +++ b/railties/lib/generator/templates/app/config/environment.rb @@ -26,7 +26,7 @@ Rails::Initializer.run do |config| # Skip frameworks you're not going to use. To use Rails without a database, # you must remove the Active Record framework. -<%- if options[:no_activerecord] -%> +<%- if options[:skip_activerecord] -%> config.frameworks -= [ :active_record ] <%- else -%> # config.frameworks -= [ :active_record, :active_resource, :action_mailer ] |