class method
self.new
Ruby on Rails 2.3.18
Since v2.2.3Signature
self.new(message, exception, attribute)
No documentation comment.
Parameters
-
messagereq -
exceptionreq -
attributereq
Source
# File activerecord/lib/active_record/base.rb, line 135
def initialize(message, exception, attribute)
@exception = exception
@attribute = attribute
@message = message
end
Defined in activerecord/lib/active_record/base.rb line 135
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::AttributeAssignmentError