aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generator/templates/app/config/environment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/generator/templates/app/config/environment.rb')
-rw-r--r--railties/lib/generator/templates/app/config/environment.rb2
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 ]