# Table of Contents - activemodel-5.1.4 Documentation

## Classes and Modules

- ActiveModel
- ActiveModel::AttributeAssignment
- ActiveModel::AttributeMethods
  - Active Model Attribute Methods
- ActiveModel::AttributeMethods::ClassMethods
- ActiveModel::AttributeMethods::ClassMethods::AttributeMethodMatcher
- ActiveModel::BlockValidator
- ActiveModel::Callbacks
  - Active Model Callbacks
- ActiveModel::Conversion
  - Active Model Conversion
- ActiveModel::Conversion::ClassMethods
- ActiveModel::Dirty
  - Active Model Dirty
- ActiveModel::EachValidator
- ActiveModel::Errors
  - Active Model Errors
- ActiveModel::ForbiddenAttributesError
- ActiveModel::ForbiddenAttributesProtection
- ActiveModel::Lint
- ActiveModel::Lint::Tests
  - Active Model Lint Tests
- ActiveModel::MissingAttributeError
- ActiveModel::Model
  - Active Model Basic Model
- ActiveModel::Name
- ActiveModel::Naming
  - Active Model Naming
- ActiveModel::Railtie
- ActiveModel::RangeError
- ActiveModel::SecurePassword
- ActiveModel::SecurePassword::ClassMethods
- ActiveModel::SecurePassword::InstanceMethodsOnActivation
- ActiveModel::Serialization
  - Active Model Serialization
- ActiveModel::Serializers
- ActiveModel::Serializers::JSON
  - Active Model JSON Serializer
- ActiveModel::StrictValidationFailed
- ActiveModel::Translation
  - Active Model Translation
- ActiveModel::Type::BigInteger
- ActiveModel::Type::Binary
- ActiveModel::Type::Binary::Data
- ActiveModel::Type::Boolean
  - Active Model Type Boolean
  - Coercion
- ActiveModel::Type::Date
- ActiveModel::Type::DateTime
- ActiveModel::Type::Decimal
- ActiveModel::Type::Float
- ActiveModel::Type::Helpers
- ActiveModel::Type::ImmutableString
- ActiveModel::Type::Integer
- ActiveModel::Type::String
- ActiveModel::Type::Time
- ActiveModel::Type::Value
- ActiveModel::UnknownAttributeError
- ActiveModel::VERSION
- ActiveModel::ValidationError
  - Active Model ValidationError
- ActiveModel::Validations
  - Active Model Validations
- ActiveModel::Validations::AbsenceValidator
- ActiveModel::Validations::AcceptanceValidator
- ActiveModel::Validations::AcceptanceValidator::AttributeDefinition
- ActiveModel::Validations::AcceptanceValidator::LazilyDefineAttributes
- ActiveModel::Validations::Callbacks
  - Active Model Validation Callbacks
- ActiveModel::Validations::Callbacks::ClassMethods
- ActiveModel::Validations::ClassMethods
- ActiveModel::Validations::Clusivity
- ActiveModel::Validations::ConfirmationValidator
- ActiveModel::Validations::ExclusionValidator
- ActiveModel::Validations::FormatValidator
- ActiveModel::Validations::HelperMethods
- ActiveModel::Validations::InclusionValidator
- ActiveModel::Validations::LengthValidator
- ActiveModel::Validations::NumericalityValidator
- ActiveModel::Validations::PresenceValidator
- ActiveModel::Validations::WithValidator
- ActiveModel::Validator
  - Active Model Validator

## Methods

- ::eager_load! — ActiveModel
- ::gem_version — ActiveModel
- ::kind — ActiveModel::Validator
- ::new — ActiveModel::Validator
- ::new — ActiveModel::Model
- ::new — ActiveModel::Validations::AcceptanceValidator::LazilyDefineAttributes
- ::new — ActiveModel::Validations::AcceptanceValidator::AttributeDefinition
- ::new — ActiveModel::Errors
- ::new — ActiveModel::Type::Value
- ::new — ActiveModel::Name
- ::new — ActiveModel::ValidationError
- ::new — ActiveModel::UnknownAttributeError
- ::param_key — ActiveModel::Naming
- ::plural — ActiveModel::Naming
- ::register — ActiveModel::Type
- ::route_key — ActiveModel::Naming
- ::singular — ActiveModel::Naming
- ::singular_route_key — ActiveModel::Naming
- ::uncountable? — ActiveModel::Naming
- ::version — ActiveModel
- #!~ — ActiveModel::Name
- #<=> — ActiveModel::Name
- #== — ActiveModel::Type::Value
- #== — ActiveModel::Name
- #=== — ActiveModel::Name
- #=~ — ActiveModel::Name
- #[] — ActiveModel::Errors
- #_assign_attribute — ActiveModel::AttributeAssignment
- #_assign_attributes — ActiveModel::AttributeAssignment
- #_define_after_model_callback — ActiveModel::Callbacks
- #_define_around_model_callback — ActiveModel::Callbacks
- #_define_before_model_callback — ActiveModel::Callbacks
- #_parse_validates_options — ActiveModel::Validations::ClassMethods
- #_singularize — ActiveModel::Name
- #_validates_default_keys — ActiveModel::Validations::ClassMethods
- #add — ActiveModel::Errors
- #added? — ActiveModel::Errors
- #after_validation — ActiveModel::Validations::Callbacks::ClassMethods
- #alias_attribute — ActiveModel::AttributeMethods::ClassMethods
- #apply_default_array — ActiveModel::Errors
- #as_json — ActiveModel::Serializers::JSON
- #as_json — ActiveModel::Errors
- #assert_boolean — ActiveModel::Lint::Tests
- #assert_valid_value — ActiveModel::Type::Value
- #assign_attributes — ActiveModel::AttributeAssignment
- #attribute_alias — ActiveModel::AttributeMethods::ClassMethods
- #attribute_alias? — ActiveModel::AttributeMethods::ClassMethods
- #attribute_change — ActiveModel::Dirty
- #attribute_changed_by_setter? — ActiveModel::Dirty
- #attribute_method? — ActiveModel::Validations::ClassMethods
- #attribute_method? — ActiveModel::AttributeMethods
- #attribute_method_affix — ActiveModel::AttributeMethods::ClassMethods
- #attribute_method_matchers_cache — ActiveModel::AttributeMethods::ClassMethods
- #attribute_method_matchers_matching — ActiveModel::AttributeMethods::ClassMethods
- #attribute_method_prefix — ActiveModel::AttributeMethods::ClassMethods
- #attribute_method_suffix — ActiveModel::AttributeMethods::ClassMethods
- #attribute_missing — ActiveModel::AttributeMethods
- #attribute_previous_change — ActiveModel::Dirty
- #attribute_will_change! — ActiveModel::Dirty
- #attributes_changed_by_setter — ActiveModel::Dirty
- #authenticate — ActiveModel::SecurePassword::InstanceMethodsOnActivation
- #before_validation — ActiveModel::Validations::Callbacks::ClassMethods
- #blank? — ActiveModel::Errors
- #cast — ActiveModel::Type::Value
- #cast_value — ActiveModel::Type::Boolean
- #cast_value — ActiveModel::Type::Value
- #changed — ActiveModel::Dirty
- #changed? — ActiveModel::Type::Value
- #changed? — ActiveModel::Dirty
- #changed_attributes — ActiveModel::Dirty
- #changed_in_place? — ActiveModel::Type::Value
- #changes — ActiveModel::Dirty
- #changes_applied — ActiveModel::Dirty
- #changes_include? — ActiveModel::Dirty
- #clear — ActiveModel::Errors
- #clear_attribute_changes — ActiveModel::Dirty
- #clear_changes_information — ActiveModel::Dirty
- #clear_validators! — ActiveModel::Validations::ClassMethods
- #convert_to_reader_name — ActiveModel::Validations::AcceptanceValidator::AttributeDefinition
- #count — ActiveModel::Errors
- #define_attribute_method — ActiveModel::AttributeMethods::ClassMethods
- #define_attribute_methods — ActiveModel::AttributeMethods::ClassMethods
- #define_model_callbacks — ActiveModel::Callbacks
- #define_on — ActiveModel::Validations::AcceptanceValidator::AttributeDefinition
- #define_proxy_call — ActiveModel::AttributeMethods::ClassMethods
- #delete — ActiveModel::Errors
- #deserialize — ActiveModel::Type::Value
- #each — ActiveModel::Errors
- #empty? — ActiveModel::Errors
- #eql? — ActiveModel::Name
- #eql? — ActiveModel::Type::Value
- #errors — ActiveModel::Validations
- #from_json — ActiveModel::Serializers::JSON
- #full_message — ActiveModel::Errors
- #full_messages — ActiveModel::Errors
- #full_messages_for — ActiveModel::Errors
- #generate_message — ActiveModel::Errors
- #has_key? — ActiveModel::Errors
- #has_secure_password — ActiveModel::SecurePassword::ClassMethods
- #hash — ActiveModel::Type::Value
- #human — ActiveModel::Name
- #human_attribute_name — ActiveModel::Translation
- #i18n_scope — ActiveModel::Translation
- #include? — ActiveModel::Errors
- #instance_method_already_implemented? — ActiveModel::AttributeMethods::ClassMethods
- #invalid? — ActiveModel::Validations
- #key? — ActiveModel::Errors
- #keys — ActiveModel::Errors
- #kind — ActiveModel::Validator
- #lookup_ancestors — ActiveModel::Translation
- #matched_attribute_method — ActiveModel::AttributeMethods
- #matches? — ActiveModel::Validations::AcceptanceValidator::AttributeDefinition
- #method_missing — ActiveModel::AttributeMethods
- #missing_attribute — ActiveModel::AttributeMethods
- #model — ActiveModel::Lint::Tests
- #model_name — ActiveModel::Naming
- #normalize_detail — ActiveModel::Errors
- #normalize_message — ActiveModel::Errors
- #password= — ActiveModel::SecurePassword::InstanceMethodsOnActivation
- #password_confirmation= — ActiveModel::SecurePassword::InstanceMethodsOnActivation
- #persisted? — ActiveModel::Model
- #previous_changes — ActiveModel::Dirty
- #previous_changes_include? — ActiveModel::Dirty
- #raise_validation_error — ActiveModel::Validations
- #respond_to? — ActiveModel::AttributeMethods
- #respond_to_without_attributes? — ActiveModel::AttributeMethods
- #restore_attribute! — ActiveModel::Dirty
- #restore_attributes — ActiveModel::Dirty
- #run_validations! — ActiveModel::Validations::Callbacks
- #run_validations! — ActiveModel::Validations
- #serializable_hash — ActiveModel::Serialization
- #serialize — ActiveModel::Type::Value
- #set_attribute_was — ActiveModel::Dirty
- #size — ActiveModel::Errors
- #test_errors_aref — ActiveModel::Lint::Tests
- #test_model_naming — ActiveModel::Lint::Tests
- #test_persisted? — ActiveModel::Lint::Tests
- #test_to_key — ActiveModel::Lint::Tests
- #test_to_param — ActiveModel::Lint::Tests
- #test_to_partial_path — ActiveModel::Lint::Tests
- #to_a — ActiveModel::Errors
- #to_hash — ActiveModel::Errors
- #to_key — ActiveModel::Conversion
- #to_model — ActiveModel::Conversion
- #to_param — ActiveModel::Conversion
- #to_partial_path — ActiveModel::Conversion
- #to_s — ActiveModel::Name
- #to_str — ActiveModel::Name
- #to_xml — ActiveModel::Errors
- #undefine_attribute_methods — ActiveModel::AttributeMethods::ClassMethods
- #valid? — ActiveModel::Validations
- #validate — ActiveModel::Validations::ClassMethods
- #validate — ActiveModel::Validator
- #validate — ActiveModel::Validations
- #validate! — ActiveModel::Validations
- #validates — ActiveModel::Validations::ClassMethods
- #validates! — ActiveModel::Validations::ClassMethods
- #validates_absence_of — ActiveModel::Validations::HelperMethods
- #validates_acceptance_of — ActiveModel::Validations::HelperMethods
- #validates_confirmation_of — ActiveModel::Validations::HelperMethods
- #validates_each — ActiveModel::Validations::ClassMethods
- #validates_exclusion_of — ActiveModel::Validations::HelperMethods
- #validates_format_of — ActiveModel::Validations::HelperMethods
- #validates_inclusion_of — ActiveModel::Validations::HelperMethods
- #validates_length_of — ActiveModel::Validations::HelperMethods
- #validates_numericality_of — ActiveModel::Validations::HelperMethods
- #validates_presence_of — ActiveModel::Validations::HelperMethods
- #validates_size_of — ActiveModel::Validations::HelperMethods
- #validates_with — ActiveModel::Validations::ClassMethods
- #validates_with — ActiveModel::Validations
- #validators — ActiveModel::Validations::ClassMethods
- #validators_on — ActiveModel::Validations::ClassMethods
- #values — ActiveModel::Errors
- #without_default_proc — ActiveModel::Errors