class method
self.const_missing
Ruby on Rails 4.2.9
Since v4.2.9 Last seen in v4.2.9Signature
self.const_missing(const_name)
No documentation comment.
Parameters
-
const_namereq
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