Method: ActiveRecord::AttributeAssignmentError#initialize
- Defined in:
- lib/active_record/errors.rb
#initialize(message = nil, exception = nil, attribute = nil) ⇒ AttributeAssignmentError
Returns a new instance of AttributeAssignmentError.
424 425 426 427 428 |
# File 'lib/active_record/errors.rb', line 424 def initialize( = nil, exception = nil, attribute = nil) super() @exception = exception @attribute = attribute end |