Exception: ActiveRecord::InvalidForeignKey
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
ActiveRecord::WrappedDatabaseException
|
Defined in: | activerecord/lib/active_record/errors.rb |
Overview
Raised when a record cannot be inserted or updated because it references a non-existent record, or when a record cannot be deleted because a parent record references it.
Class Method Summary
Instance Attribute Summary
Instance Method Summary
StatementInvalid
- Inherited
Constructor Details
This class inherits a constructor from ActiveRecord::StatementInvalid