method
ip_spoofing_check=
v3.0.9 -
Show latest stable
- Class:
ActionController::Base::DeprecatedBehavior
ip_spoofing_check=(value)public
No documentation available.
# File actionpack/lib/action_controller/deprecated/base.rb, line 40
def ip_spoofing_check=(value)
ActiveSupport::Deprecation.warn "ActionController::Base.ip_spoofing_check= is deprecated. " <<
"Please configure it on your application with config.action_dispatch.ip_spoofing_check=", caller
Rails.application.config.action_dispatch.ip_spoofing_check = value
end