Class: ActiveRecord::RecordInvalid
- Inherits:
-
ActiveRecordError
- Object
- ActiveRecordError
- ActiveRecord::RecordInvalid
- Defined in:
- lib/whyvalidationssuckin96/rails/active_record.rb
Overview
RecordInvalid
Instance Attribute Summary
- - (Object) record readonly Returns the value of attribute record.
Instance Method Summary
- - (RecordInvalid) initialize(record) constructor A new instance of RecordInvalid.
Constructor Details
- (RecordInvalid) initialize(record)
A new instance of RecordInvalid
87 88 89 90 |
# File 'lib/whyvalidationssuckin96/rails/active_record.rb', line 87 def initialize(record) @record = record super end |
Instance Attribute Details
- (Object) record (readonly)
Returns the value of attribute record
86 87 88 |
# File 'lib/whyvalidationssuckin96/rails/active_record.rb', line 86 def record @record end |