Skip to Content Skip to Search
Namespace
Methods
E
G
V

Class Public methods

eager_load!()

# File rails/activemodel/lib/active_model.rb, line 70
def self.eager_load!
  super
  ActiveModel::Serializers.eager_load!
end

gem_version()

Returns the version of the currently loaded Active Model as a Gem::Version

# File rails/activemodel/lib/active_model/gem_version.rb, line 5
def self.gem_version
  Gem::Version.new VERSION::STRING
end

version()

Returns the version of the currently loaded Active Model as a Gem::Version

# File rails/activemodel/lib/active_model/version.rb, line 7
def self.version
  gem_version
end