Namespace
Module
- ActiveRecord::Aggregations
- ActiveRecord::Associations
- ActiveRecord::AttributeAssignment
- ActiveRecord::AttributeMethods
- ActiveRecord::Attributes
- ActiveRecord::AutosaveAssociation
- ActiveRecord::Batches
- ActiveRecord::Calculations
- ActiveRecord::Callbacks
- ActiveRecord::ConnectionAdapters
- ActiveRecord::ConnectionHandling
- ActiveRecord::Core
- ActiveRecord::CounterCache
- ActiveRecord::DelegatedType
- ActiveRecord::DynamicMatchers
- ActiveRecord::Enum
- ActiveRecord::Explain
- ActiveRecord::FinderMethods
- ActiveRecord::Inheritance
- ActiveRecord::Integration
- ActiveRecord::Locking
- ActiveRecord::Middleware
- ActiveRecord::ModelSchema
- ActiveRecord::NestedAttributes
- ActiveRecord::NoTouching
- ActiveRecord::Persistence
- ActiveRecord::QueryMethods
- ActiveRecord::Querying
- ActiveRecord::ReadonlyAttributes
- ActiveRecord::Reflection
- ActiveRecord::Sanitization
- ActiveRecord::Scoping
- ActiveRecord::SecureToken
- ActiveRecord::Serialization
- ActiveRecord::SignedId
- ActiveRecord::SpawnMethods
- ActiveRecord::Store
- ActiveRecord::Suppressor
- ActiveRecord::Tasks
- ActiveRecord::TestFixtures
- ActiveRecord::Timestamp
- ActiveRecord::Transactions
- ActiveRecord::Translation
- ActiveRecord::Type
- ActiveRecord::VERSION
- ActiveRecord::Validations
Class
- ActiveRecord::ActiveJobRequiredError
- ActiveRecord::ActiveRecordError
- ActiveRecord::AdapterNotFound
- ActiveRecord::AdapterNotSpecified
- ActiveRecord::AdapterTimeout
- ActiveRecord::AssociationNotFoundError
- ActiveRecord::AssociationTypeMismatch
- ActiveRecord::AttributeAssignmentError
- ActiveRecord::Base
- ActiveRecord::ConfigurationError
- ActiveRecord::ConnectionNotEstablished
- ActiveRecord::ConnectionTimeoutError
- ActiveRecord::DangerousAttributeError
- ActiveRecord::DatabaseAlreadyExists
- ActiveRecord::DatabaseConfigurations
- ActiveRecord::Deadlocked
- ActiveRecord::DestroyAssociationAsyncError
- ActiveRecord::DestroyAssociationAsyncJob
- ActiveRecord::EagerLoadPolymorphicError
- ActiveRecord::EnvironmentMismatchError
- ActiveRecord::ExclusiveConnectionTimeoutError
- ActiveRecord::FixtureSet
- ActiveRecord::HasManyThroughAssociationNotFoundError
- ActiveRecord::ImmutableRelation
- ActiveRecord::InvalidForeignKey
- ActiveRecord::InverseOfAssociationNotFoundError
- ActiveRecord::IrreversibleMigration
- ActiveRecord::IrreversibleOrderError
- ActiveRecord::LockWaitTimeout
- ActiveRecord::LogSubscriber
- ActiveRecord::Migration
- ActiveRecord::MismatchedForeignKey
- ActiveRecord::MultiparameterAssignmentErrors
- ActiveRecord::NoDatabaseError
- ActiveRecord::NotNullViolation
- ActiveRecord::PredicateBuilder
- ActiveRecord::PreparedStatementCacheExpired
- ActiveRecord::PreparedStatementInvalid
- ActiveRecord::QueryAborted
- ActiveRecord::QueryCache
- ActiveRecord::QueryCanceled
- ActiveRecord::RangeError
- ActiveRecord::ReadOnlyError
- ActiveRecord::ReadOnlyRecord
- ActiveRecord::RecordInvalid
- ActiveRecord::RecordNotDestroyed
- ActiveRecord::RecordNotFound
- ActiveRecord::RecordNotSaved
- ActiveRecord::RecordNotUnique
- ActiveRecord::Relation
- ActiveRecord::Result
- ActiveRecord::Rollback
- ActiveRecord::Schema
- ActiveRecord::SerializationFailure
- ActiveRecord::SerializationTypeMismatch
- ActiveRecord::StaleObjectError
- ActiveRecord::StatementCache
- ActiveRecord::StatementInvalid
- ActiveRecord::StatementTimeout
- ActiveRecord::StrictLoadingViolationError
- ActiveRecord::SubclassNotFound
- ActiveRecord::TableNotSpecified
- ActiveRecord::TransactionIsolationError
- ActiveRecord::TransactionRollbackError
- ActiveRecord::TypeConflictError
- ActiveRecord::UnknownAttributeError
- ActiveRecord::UnknownAttributeReference
- ActiveRecord::UnknownPrimaryKey
- ActiveRecord::ValueTooLong
- ActiveRecord::WrappedDatabaseException
Methods
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()
Returns the version of the currently loaded Active Record as a Gem::Version
📝 Source code
# File activerecord/lib/active_record/gem_version.rb, line 5
def self.gem_version
Gem::Version.new VERSION::STRING
end
🔎 See on GitHub
version()
Returns the version of the currently loaded ActiveRecord
as a Gem::Version
📝 Source code
# File activerecord/lib/active_record/version.rb, line 7
def self.version
gem_version
end
🔎 See on GitHub