diff options
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 ] |