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( = nil, exception = nil, attribute = nil) super() @exception = exception @attribute = attribute end |