method

const_missing

rails latest stable - Class: ActionController::Parameters

Method deprecated or moved

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

const_missing(const_name)
public

No documentation available.

# 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(        `ActionController::Parameters::NEVER_UNPERMITTED_PARAMS` has been deprecated.        Use `ActionController::Parameters.always_permitted_parameters` instead..squish)

      always_permitted_parameters
    end