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, HasAndBelongsToManyAssociationForeignKeyNeeded, HasManyThroughAssociationNotFoundError, HasManyThroughAssociationPointlessSourceTypeError, HasManyThroughAssociationPolymorphicSourceError, HasManyThroughAssociationPolymorphicThroughError, HasManyThroughCantAssociateNewRecords, HasManyThroughCantAssociateThroughHasOneOrManyReflection, HasManyThroughCantDissociateNewRecords, HasManyThroughNestedAssociationsAreReadonly, HasManyThroughSourceAssociationNotFoundError, HasOneThroughCantAssociateThroughCollection, IllegalMigrationNameError, InverseOfAssociationNotFoundError, IrreversibleMigration, MultiparameterAssignmentErrors, NestedAttributes::TooManyRecords, PreparedStatementInvalid, ReadOnlyAssociation, ReadOnlyRecord, RecordInvalid, RecordNotFound, RecordNotSaved, Rollback, SerializationTypeMismatch, StaleObjectError, StatementInvalid, SubclassNotFound, ThrowResult, Transactions::TransactionError, UnknownMigrationVersionError, UnknownPrimaryKey, FixtureClassNotFound