module ActiveEntity

Constants

UnknownAttributeError

Raised when unknown attributes are supplied via mass assignment.

Public Class Methods

eager_load!() click to toggle source
Calls superclass method
# File lib/active_entity.rb, line 86
def self.eager_load!
  super

  ActiveEntity::Associations.eager_load!
  ActiveEntity::AttributeMethods.eager_load!
end
gem_version() click to toggle source

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

# File lib/active_entity/gem_version.rb, line 5
def self.gem_version
  Gem::Version.new VERSION::STRING
end
version() click to toggle source

Returns the version of the currently loaded ActiveEntity as a Gem::Version

# File lib/active_entity/version.rb, line 7
def self.version
  gem_version
end