Namespace
- MODULE ActiveRecord::Aggregations
- MODULE ActiveRecord::Associations
- MODULE ActiveRecord::AttributeAssignment
- MODULE ActiveRecord::AttributeMethods
- MODULE ActiveRecord::Attributes
- MODULE ActiveRecord::AutosaveAssociation
- MODULE ActiveRecord::Batches
- MODULE ActiveRecord::Calculations
- MODULE ActiveRecord::Callbacks
- MODULE ActiveRecord::ConnectionAdapters
- MODULE ActiveRecord::ConnectionHandling
- MODULE ActiveRecord::Core
- MODULE ActiveRecord::CounterCache
- MODULE ActiveRecord::DelegatedType
- MODULE ActiveRecord::DynamicMatchers
- MODULE ActiveRecord::Enum
- MODULE ActiveRecord::Explain
- MODULE ActiveRecord::FinderMethods
- MODULE ActiveRecord::Inheritance
- MODULE ActiveRecord::Integration
- MODULE ActiveRecord::Locking
- MODULE ActiveRecord::Middleware
- MODULE ActiveRecord::ModelSchema
- MODULE ActiveRecord::NestedAttributes
- MODULE ActiveRecord::NoTouching
- MODULE ActiveRecord::Persistence
- MODULE ActiveRecord::QueryMethods
- MODULE ActiveRecord::Querying
- MODULE ActiveRecord::ReadonlyAttributes
- MODULE ActiveRecord::Reflection
- MODULE ActiveRecord::Sanitization
- MODULE ActiveRecord::Scoping
- MODULE ActiveRecord::SecureToken
- MODULE ActiveRecord::Serialization
- MODULE ActiveRecord::SignedId
- MODULE ActiveRecord::SpawnMethods
- MODULE ActiveRecord::Store
- MODULE ActiveRecord::Suppressor
- MODULE ActiveRecord::Tasks
- MODULE ActiveRecord::TestFixtures
- MODULE ActiveRecord::Timestamp
- MODULE ActiveRecord::Transactions
- MODULE ActiveRecord::Translation
- MODULE ActiveRecord::Type
- MODULE ActiveRecord::VERSION
- MODULE ActiveRecord::Validations
- CLASS ActiveRecord::ActiveJobRequiredError
- CLASS ActiveRecord::ActiveRecordError
- CLASS ActiveRecord::AdapterNotFound
- CLASS ActiveRecord::AdapterNotSpecified
- CLASS ActiveRecord::AdapterTimeout
- CLASS ActiveRecord::AssociationNotFoundError
- CLASS ActiveRecord::AssociationTypeMismatch
- CLASS ActiveRecord::AttributeAssignmentError
- CLASS ActiveRecord::Base
- CLASS ActiveRecord::ConfigurationError
- CLASS ActiveRecord::ConnectionNotEstablished
- CLASS ActiveRecord::ConnectionTimeoutError
- CLASS ActiveRecord::DangerousAttributeError
- CLASS ActiveRecord::DatabaseAlreadyExists
- CLASS ActiveRecord::DatabaseConfigurations
- CLASS ActiveRecord::Deadlocked
- CLASS ActiveRecord::DestroyAssociationAsyncError
- CLASS ActiveRecord::DestroyAssociationAsyncJob
- CLASS ActiveRecord::EagerLoadPolymorphicError
- CLASS ActiveRecord::EnvironmentMismatchError
- CLASS ActiveRecord::ExclusiveConnectionTimeoutError
- CLASS ActiveRecord::FixtureSet
- CLASS ActiveRecord::HasManyThroughAssociationNotFoundError
- CLASS ActiveRecord::ImmutableRelation
- CLASS ActiveRecord::InvalidForeignKey
- CLASS ActiveRecord::InverseOfAssociationNotFoundError
- CLASS ActiveRecord::IrreversibleMigration
- CLASS ActiveRecord::IrreversibleOrderError
- CLASS ActiveRecord::LockWaitTimeout
- CLASS ActiveRecord::LogSubscriber
- CLASS ActiveRecord::Migration
- CLASS ActiveRecord::MismatchedForeignKey
- CLASS ActiveRecord::MultiparameterAssignmentErrors
- CLASS ActiveRecord::NoDatabaseError
- CLASS ActiveRecord::NotNullViolation
- CLASS ActiveRecord::PredicateBuilder
- CLASS ActiveRecord::PreparedStatementCacheExpired
- CLASS ActiveRecord::PreparedStatementInvalid
- CLASS ActiveRecord::QueryAborted
- CLASS ActiveRecord::QueryCache
- CLASS ActiveRecord::QueryCanceled
- CLASS ActiveRecord::RangeError
- CLASS ActiveRecord::ReadOnlyError
- CLASS ActiveRecord::ReadOnlyRecord
- CLASS ActiveRecord::RecordInvalid
- CLASS ActiveRecord::RecordNotDestroyed
- CLASS ActiveRecord::RecordNotFound
- CLASS ActiveRecord::RecordNotSaved
- CLASS ActiveRecord::RecordNotUnique
- CLASS ActiveRecord::Relation
- CLASS ActiveRecord::Result
- CLASS ActiveRecord::Rollback
- CLASS ActiveRecord::Schema
- CLASS ActiveRecord::SerializationFailure
- CLASS ActiveRecord::SerializationTypeMismatch
- CLASS ActiveRecord::StaleObjectError
- CLASS ActiveRecord::StatementCache
- CLASS ActiveRecord::StatementInvalid
- CLASS ActiveRecord::StatementTimeout
- CLASS ActiveRecord::StrictLoadingViolationError
- CLASS ActiveRecord::SubclassNotFound
- CLASS ActiveRecord::TableNotSpecified
- CLASS ActiveRecord::TransactionIsolationError
- CLASS ActiveRecord::TransactionRollbackError
- CLASS ActiveRecord::TypeConflictError
- CLASS ActiveRecord::UnknownAttributeError
- CLASS ActiveRecord::UnknownAttributeReference
- CLASS ActiveRecord::UnknownPrimaryKey
- CLASS ActiveRecord::ValueTooLong
- CLASS ActiveRecord::WrappedDatabaseException
Methods
- G
- V
Constants
MigrationProxy | = | Struct.new(:name, :version, :filename, :scope) do def initialize(name, version, filename, scope) super @migration = nil end def basename File.basename(filename) end delegate :migrate, :announce, :write, :disable_ddl_transaction, to: :migration private def migration @migration ||= load_migration end def load_migration require(File.expand_path(filename)) name.constantize.new(name, version) end end |
|
||
Point | = | Struct.new(:x, :y) |
UnknownAttributeError | = | ActiveModel::UnknownAttributeError |
Raised when unknown attributes are supplied via mass assignment.
|
Class Public methods
gem_version() Link
Returns the version of the currently loaded Active Record as a Gem::Version
version() Link
Returns the version of the currently loaded ActiveRecord
as a Gem::Version