method

trusted_proxies=

rails latest stable - Class: ActionController::Base::DeprecatedBehavior

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

trusted_proxies=(value)
public

No documentation available.

# File actionpack/lib/action_controller/deprecated/base.rb, line 61
      def trusted_proxies=(value)
        ActiveSupport::Deprecation.warn "ActionController::Base.trusted_proxies= is deprecated. " <<
          "Please configure it on your application with config.action_dispatch.trusted_proxies=", caller
        Rails.application.config.action_dispatch.ip_spoofing_check = value
      end