method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: UnpermittedParameters
new(params) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 50
    def initialize(params) # :nodoc:
      @params = params
      super("found unpermitted parameter#{'s' if params.size > 1 }: #{params.map { |e| ":#{e}" }.join(", ")}")
    end
Register or log in to add new notes.