Method: ActiveRecord::AttributeAssignmentError#initialize

Defined in:
activerecord/lib/active_record/errors.rb

#initialize(message = nil, exception = nil, attribute = nil) ⇒ AttributeAssignmentError

Returns a new instance of AttributeAssignmentError.



439
440
441
442
443
# File 'activerecord/lib/active_record/errors.rb', line 439

def initialize(message = nil, exception = nil, attribute = nil)
  super(message)
  @exception = exception
  @attribute = attribute
end