Namespace
Module
- ActiveModel::AttributeAssignment
- ActiveModel::AttributeMethods
- ActiveModel::Attributes
- ActiveModel::Callbacks
- ActiveModel::Conversion
- ActiveModel::Dirty
- ActiveModel::Lint
- ActiveModel::Model
- ActiveModel::Naming
- ActiveModel::SecurePassword
- ActiveModel::Serialization
- ActiveModel::Serializers
- ActiveModel::Translation
- ActiveModel::Type
- ActiveModel::VERSION
- ActiveModel::Validations
Class
- ActiveModel::Errors
- ActiveModel::ForbiddenAttributesError
- ActiveModel::MissingAttributeError
- ActiveModel::Name
- ActiveModel::RangeError
- ActiveModel::StrictValidationFailed
- ActiveModel::UnknownAttributeError
- ActiveModel::ValidationError
- ActiveModel::Validator
Methods
Class Public methods
gem_version()
Returns the version of the currently loaded Active Model as a Gem::Version
📝 Source code
# File activemodel/lib/active_model/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 Active Model as a Gem::Version
📝 Source code
# File activemodel/lib/active_model/version.rb, line 7
def self.version
gem_version
end
🔎 See on GitHub