method

new

rails latest stable - Class: ActionController::ParameterMissing::Correction

Method deprecated or moved

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

new(error)
public

No documentation available.

# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 31
      def initialize(error)
        @error = error
      end