Exception: ActiveRecord::ActiveRecordError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/active_record/errors.rb

Overview

Active Record Errors

Generic Active Record exception class.

Direct Known Subclasses

AdapterError, AdapterNotFound, AdapterNotSpecified, AmbiguousSourceReflectionForThroughAssociation, AssociationTypeMismatch, AsynchronousQueryInsideTransactionError, AttributeAssignmentError, CompositePrimaryKeyMismatchError, ConfigurationError, ConnectionAdapters::TransactionInstrumenter::InstrumentationAlreadyStartedError, ConnectionAdapters::TransactionInstrumenter::InstrumentationNotStartedError, DangerousAttributeError, DeleteRestrictionError, EagerLoadPolymorphicError, EnvironmentMismatchError, EnvironmentStorageError, FixtureClassNotFound, HasManyThroughAssociationNotFoundError, HasManyThroughAssociationPointlessSourceTypeError, HasManyThroughAssociationPolymorphicSourceError, HasManyThroughAssociationPolymorphicThroughError, HasManyThroughOrderError, HasManyThroughSourceAssociationNotFoundError, HasOneAssociationPolymorphicThroughError, HasOneThroughCantAssociateThroughCollection, ImmutableRelation, InverseOfAssociationNotFoundError, InverseOfAssociationRecursiveError, IrreversibleOrderError, MigrationError, MultiparameterAssignmentErrors, NestedAttributes::TooManyRecords, PreparedStatementInvalid, ProtectedEnvironmentError, ReadOnlyError, ReadOnlyRecord, ReadonlyAttributeError, RecordInvalid, RecordNotDestroyed, RecordNotFound, RecordNotSaved, Rollback, SerializationTypeMismatch, SoleRecordExceeded, StaleObjectError, StrictLoadingViolationError, SubclassNotFound, TableNotSpecified, ThroughCantAssociateThroughHasOneOrManyReflection, ThroughNestedAssociationsAreReadonly, TransactionIsolationError, UnknownAttributeReference, UnknownPrimaryKey