diff options
author | José Valim <jose.valim@gmail.com> | 2010-02-02 10:42:46 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-02 10:44:09 +0100 |
commit | ec4b18ec78618fdd1c4fbfd7fc538ea3fb7ccbc4 (patch) | |
tree | f96d78e847780592f63a68413ea9c2cc82c03d08 /railties/lib/generators/rails | |
parent | 101a8fa5f8cbf0f981ca984a279fb9838c79a751 (diff) | |
download | rails-ec4b18ec78618fdd1c4fbfd7fc538ea3fb7ccbc4.tar.gz rails-ec4b18ec78618fdd1c4fbfd7fc538ea3fb7ccbc4.tar.bz2 rails-ec4b18ec78618fdd1c4fbfd7fc538ea3fb7ccbc4.zip |
Get rid of deprecation warnings on config/environments/*
Diffstat (limited to 'railties/lib/generators/rails')
3 files changed, 7 insertions, 7 deletions
diff --git a/railties/lib/generators/rails/app/templates/config/environments/development.rb.tt b/railties/lib/generators/rails/app/templates/config/environments/development.rb.tt index 177ce44d41..f0e917dd96 100644 --- a/railties/lib/generators/rails/app/templates/config/environments/development.rb.tt +++ b/railties/lib/generators/rails/app/templates/config/environments/development.rb.tt @@ -10,9 +10,9 @@ config.whiny_nils = true # Show full error reports and disable caching - config.action_controller.consider_all_requests_local = true - config.action_view.debug_rjs = true - config.action_controller.perform_caching = false + config.consider_all_requests_local = true + config.action_view.debug_rjs = true + config.action_controller.perform_caching = false # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = false diff --git a/railties/lib/generators/rails/app/templates/config/environments/production.rb.tt b/railties/lib/generators/rails/app/templates/config/environments/production.rb.tt index ee071df63b..917052c3df 100644 --- a/railties/lib/generators/rails/app/templates/config/environments/production.rb.tt +++ b/railties/lib/generators/rails/app/templates/config/environments/production.rb.tt @@ -6,8 +6,8 @@ config.cache_classes = true # Full error reports are disabled and caching is turned on - config.action_controller.consider_all_requests_local = false - config.action_controller.perform_caching = true + config.consider_all_requests_local = false + config.action_controller.perform_caching = true # See everything in the log (default is :info) # config.log_level = :debug diff --git a/railties/lib/generators/rails/app/templates/config/environments/test.rb.tt b/railties/lib/generators/rails/app/templates/config/environments/test.rb.tt index f6c38f3c0d..0b87b241ec 100644 --- a/railties/lib/generators/rails/app/templates/config/environments/test.rb.tt +++ b/railties/lib/generators/rails/app/templates/config/environments/test.rb.tt @@ -11,8 +11,8 @@ config.whiny_nils = true # Show full error reports and disable caching - config.action_controller.consider_all_requests_local = true - config.action_controller.perform_caching = false + config.consider_all_requests_local = true + config.action_controller.perform_caching = false # Disable request forgery protection in test environment config.action_controller.allow_forgery_protection = false |