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.
297 298 299 300 301 |
# File 'lib/active_record/errors.rb', line 297 def initialize( = nil, exception = nil, attribute = nil) super() @exception = exception @attribute = attribute end |