Class: ActiveRecord::RecordInvalid
- Inherits:
-
ActiveRecordError
- Object
- ActiveRecordError
- ActiveRecord::RecordInvalid
- Defined in:
- lib/whyvalidationssuckin96/rails/active_record/base_validation_overrides.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
118 119 120 121 |
# File 'lib/whyvalidationssuckin96/rails/active_record/base_validation_overrides.rb', line 118 def initialize(record) @record = record super end |
Instance Attribute Details
- (Object) record (readonly)
Returns the value of attribute record
117 118 119 |
# File 'lib/whyvalidationssuckin96/rails/active_record/base_validation_overrides.rb', line 117 def record @record end |