diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2010-02-09 17:23:48 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2010-02-09 17:23:48 -0800 |
commit | fa2ff95d4b783751f42378447331385c469e4775 (patch) | |
tree | 17d524b6eaded0e3530d8fa2a797438a59c4aa6e /actionpack/lib/action_controller/metal/compatibility.rb | |
parent | 834a45d8a2ae225b775c51d8ae266a4550e9fba1 (diff) | |
download | rails-fa2ff95d4b783751f42378447331385c469e4775.tar.gz rails-fa2ff95d4b783751f42378447331385c469e4775.tar.bz2 rails-fa2ff95d4b783751f42378447331385c469e4775.zip |
Its not a deprecation if you actually just ignore the call
Diffstat (limited to 'actionpack/lib/action_controller/metal/compatibility.rb')
-rw-r--r-- | actionpack/lib/action_controller/metal/compatibility.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/compatibility.rb b/actionpack/lib/action_controller/metal/compatibility.rb index 1d4a719aa6..a1cfa32d4d 100644 --- a/actionpack/lib/action_controller/metal/compatibility.rb +++ b/actionpack/lib/action_controller/metal/compatibility.rb @@ -76,6 +76,7 @@ module ActionController def consider_all_requests_local=(value) ActiveSupport::Deprecation.warn "ActionController::Base.consider_all_requests_local= is no longer effective. " << "Please configure it on your application with config.consider_all_requests_local=" + Rails.application.config.consider_all_requests_local = value end def allow_concurrency @@ -87,6 +88,7 @@ module ActionController def allow_concurrency=(value) ActiveSupport::Deprecation.warn "ActionController::Base.allow_concurrency= is no longer effective. " << "Please configure it on your application with config.allow_concurrency=" + Rails.application.config.allow_concurrency = value end def rescue_action(env) |