Exception: Subroutine::Fields::MassAssignmentError
- Inherits:
-
StandardError
- Object
- StandardError
- Subroutine::Fields::MassAssignmentError
- Defined in:
- lib/subroutine/fields/mass_assignment_error.rb
Instance Method Summary collapse
-
#initialize(field_name) ⇒ MassAssignmentError
constructor
A new instance of MassAssignmentError.
Constructor Details
#initialize(field_name) ⇒ MassAssignmentError
Returns a new instance of MassAssignmentError.
7 8 9 |
# File 'lib/subroutine/fields/mass_assignment_error.rb', line 7 def initialize(field_name) super("`#{field_name}` is not mass assignable") end |