Exception: Subroutine::Fields::MassAssignmentError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/subroutine/fields/mass_assignment_error.rb

Instance Method Summary collapse

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