Permalink
Browse files

Its not a deprecation if you actually just ignore the call

  • Loading branch information...
1 parent 834a45d commit fa2ff95d4b783751f42378447331385c469e4775 @dhh dhh committed Feb 10, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 actionpack/lib/action_controller/metal/compatibility.rb
@@ -76,6 +76,7 @@ def consider_all_requests_local
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 @@ def allow_concurrency
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)

0 comments on commit fa2ff95

Please sign in to comment.