Exception: ActionController::ParameterMissing
- Inherits:
-
IndexError
- Object
- IndexError
- ActionController::ParameterMissing
- Defined in:
- lib/action_controller/parameters.rb,
lib/action_controller/strict_parameters.rb
Instance Attribute Summary collapse
-
#param ⇒ Object
readonly
Returns the value of attribute param.
Instance Method Summary collapse
-
#initialize(param) ⇒ ParameterMissing
constructor
A new instance of ParameterMissing.
Constructor Details
#initialize(param) ⇒ ParameterMissing
Returns a new instance of ParameterMissing.
9 10 11 12 |
# File 'lib/action_controller/parameters.rb', line 9 def initialize(param) @param = param super("key not found: #{param}") end |
Instance Attribute Details
#param ⇒ Object (readonly)
Returns the value of attribute param.
7 8 9 |
# File 'lib/action_controller/parameters.rb', line 7 def param @param end |