Module: ActiveRecord
Constant Summary
-
UnknownAttributeError =
Raised when unknown attributes are supplied via mass assignment.
ActiveModel::UnknownAttributeError
Class Method Summary
- .eager_load!
-
.gem_version
Returns the version of the currently loaded Active Record as a
Gem::Version
-
.version
Returns the version of the currently loaded
ActiveRecord
as aGem::Version
::ActiveSupport::Autoload
- Extended
Class Method Details
.eager_load!
[ GitHub ]# File 'activerecord/lib/active_record.rb', line 168
def self.eager_load! super ActiveRecord::Locking.eager_load! ActiveRecord::Scoping.eager_load! ActiveRecord::Associations.eager_load! ActiveRecord::AttributeMethods.eager_load! ActiveRecord::ConnectionAdapters.eager_load! end
.gem_version
Returns the version of the currently loaded Active Record as a Gem::Version
.version
Returns the version of the currently loaded ActiveRecord
as a Gem::Version
# File 'activerecord/lib/active_record/version.rb', line 7
def self.version gem_version end