1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Its not a deprecation if you actually just ignore the call

This commit is contained in:
David Heinemeier Hansson 2010-02-09 17:23:48 -08:00
parent 834a45d8a2
commit fa2ff95d4b

View file

@ -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)