class method self.const_missing

Ruby on Rails 4.2.11.3

Since v4.2.11.3 Last seen in v4.2.11.3

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.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close