Exception: ActiveRecord::ActiveRecordError
- Defined in:
- activerecord/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, TransactionIsolationError, Transactions::TransactionError, UnknownMigrationVersionError, UnknownPrimaryKey