Exception: ActiveRecord::ActiveRecordError
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveRecord::ActiveRecordError
- Defined in:
- lib/active_record/errors.rb
Overview
Active Record Errors
Generic Active Record exception class.
Direct Known Subclasses
AdapterNotFound, AdapterNotSpecified, AssociationTypeMismatch, AttributeAssignmentError, ConfigurationError, ConnectionNotEstablished, DangerousAttributeError, DeleteRestrictionError, DuplicateMigrationNameError, DuplicateMigrationVersionError, EagerLoadPolymorphicError, FixtureClassNotFound, HasAndBelongsToManyAssociationForeignKeyNeeded, HasManyThroughAssociationNotFoundError, HasManyThroughAssociationPointlessSourceTypeError, HasManyThroughAssociationPolymorphicSourceError, HasManyThroughAssociationPolymorphicThroughError, HasManyThroughCantAssociateNewRecords, HasManyThroughCantAssociateThroughHasOneOrManyReflection, HasManyThroughCantDissociateNewRecords, HasManyThroughNestedAssociationsAreReadonly, HasManyThroughSourceAssociationNotFoundError, HasOneThroughCantAssociateThroughCollection, IllegalMigrationNameError, ImmutableRelation, InverseOfAssociationNotFoundError, IrreversibleMigration, MultiparameterAssignmentErrors, NestedAttributes::TooManyRecords, PendingMigrationError, PreparedStatementInvalid, ReadOnlyAssociation, ReadOnlyRecord, RecordInvalid, RecordNotDestroyed, RecordNotFound, RecordNotSaved, Rollback, SerializationTypeMismatch, StaleObjectError, StatementInvalid, SubclassNotFound, ThrowResult, TransactionIsolationError, Transactions::TransactionError, UnknownMigrationVersionError, UnknownPrimaryKey