class method self.const_missing

Ruby on Rails 4.2.9

Since v4.2.9 Last seen in v4.2.9

Signature

self.const_missing(const_name)

No documentation comment.

Parameters

const_name req
Source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 122
    def self.const_missing(const_name)
      super unless const_name == :NEVER_UNPERMITTED_PARAMS
      ActiveSupport::Deprecation.warn(<<-MSG.squish)
        `ActionController::Parameters::NEVER_UNPERMITTED_PARAMS` has been deprecated.
        Use `ActionController::Parameters.always_permitted_parameters` instead.
      MSG

      always_permitted_parameters
    end

Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 122 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Parameters

Type at least 2 characters to search.

↑↓ navigate · open · esc close