gem.sh gem.sh
Home Gems Types Docs Community
  • Modules

    • module Shoulda
    • module Shoulda::Matchers
    • module Shoulda::Matchers::ActionController
    • module Shoulda::Matchers::ActiveModel
    • module Shoulda::Matchers::ActiveModel::Helpers
    • module Shoulda::Matchers::ActiveModel::NumericalityMatchers
    • module Shoulda::Matchers::ActiveModel::Qualifiers
    • module Shoulda::Matchers::ActiveModel::Qualifiers::AllowBlank
    • module Shoulda::Matchers::ActiveModel::Qualifiers::AllowNil
    • module Shoulda::Matchers::ActiveModel::Qualifiers::IgnoringInterferenceByWriter
    • module Shoulda::Matchers::ActiveRecord
    • module Shoulda::Matchers::ActiveRecord::AssociationMatchers
    • module Shoulda::Matchers::ActiveRecord::Uniqueness
    • module Shoulda::Matchers::ActiveRecord::Uniqueness::TestModels
    • module Shoulda::Matchers::Doublespeak
    • module Shoulda::Matchers::Doublespeak::DoubleImplementationRegistry
    • module Shoulda::Matchers::Independent
    • module Shoulda::Matchers::Integrations
    • module Shoulda::Matchers::Integrations::Inclusion
    • module Shoulda::Matchers::Integrations::Libraries
    • module Shoulda::Matchers::Integrations::Rails
    • module Shoulda::Matchers::Integrations::TestFrameworks
    • module Shoulda::Matchers::RailsShim
    • module Shoulda::Matchers::Routing
    • module Shoulda::Matchers::Util
    • module Shoulda::Matchers::WordWrap
  • Classes

    • class Shoulda::Matchers::ActionController::CallbackMatcher
    • class Shoulda::Matchers::ActionController::FilterParamMatcher
    • class Shoulda::Matchers::ActionController::FlashStore
    • class Shoulda::Matchers::ActionController::PermitMatcher
    • class Shoulda::Matchers::ActionController::PermitMatcher::ActionNotDefinedError
    • class Shoulda::Matchers::ActionController::PermitMatcher::CompositeParametersDoubleRegistry
    • class Shoulda::Matchers::ActionController::PermitMatcher::ParametersDoubleRegistry
    • class Shoulda::Matchers::ActionController::PermitMatcher::VerbNotDefinedError
    • class Shoulda::Matchers::ActionController::RedirectToMatcher
    • class Shoulda::Matchers::ActionController::RenderTemplateMatcher
    • class Shoulda::Matchers::ActionController::RenderWithLayoutMatcher
    • class Shoulda::Matchers::ActionController::RescueFromMatcher
    • class Shoulda::Matchers::ActionController::RespondWithMatcher
    • class Shoulda::Matchers::ActionController::RouteMatcher
    • class Shoulda::Matchers::ActionController::RouteParams
    • class Shoulda::Matchers::ActionController::SessionStore
    • class Shoulda::Matchers::ActionController::SetFlashMatcher
    • class Shoulda::Matchers::ActionController::SetFlashMatcher::QualifierOrderError
    • class Shoulda::Matchers::ActionController::SetSessionMatcher
    • class Shoulda::Matchers::ActionController::SetSessionOrFlashMatcher
    • class Shoulda::Matchers::ActiveModel::AllowValueMatcher
    • class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeChangedValueError
    • class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeDoesNotExistError
    • class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeSetter
    • class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeSetterAndValidator
    • class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeSetters
    • class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeSettersAndValidators
    • class Shoulda::Matchers::ActiveModel::AllowValueMatcher::SuccessfulCheck
    • class Shoulda::Matchers::ActiveModel::AllowValueMatcher::SuccessfulSetting
    • class Shoulda::Matchers::ActiveModel::ComparisonMatcher
    • class Shoulda::Matchers::ActiveModel::CouldNotDetermineValueOutsideOfArray
    • class Shoulda::Matchers::ActiveModel::CouldNotSetPasswordError
    • class Shoulda::Matchers::ActiveModel::DisallowValueMatcher
    • class Shoulda::Matchers::ActiveModel::HaveSecurePasswordMatcher
    • class Shoulda::Matchers::ActiveModel::NonNullableBooleanError
    • class Shoulda::Matchers::ActiveModel::NumericalityMatchers::EvenNumberMatcher
    • class Shoulda::Matchers::ActiveModel::NumericalityMatchers::NumericTypeMatcher
    • class Shoulda::Matchers::ActiveModel::NumericalityMatchers::OddNumberMatcher
    • class Shoulda::Matchers::ActiveModel::NumericalityMatchers::OnlyIntegerMatcher
    • class Shoulda::Matchers::ActiveModel::NumericalityMatchers::RangeMatcher
    • class Shoulda::Matchers::ActiveModel::NumericalityMatchers::Submatchers
    • class Shoulda::Matchers::ActiveModel::Qualifiers::IgnoreInterferenceByWriter
    • class Shoulda::Matchers::ActiveModel::ValidateAbsenceOfMatcher
    • class Shoulda::Matchers::ActiveModel::ValidateAcceptanceOfMatcher
    • class Shoulda::Matchers::ActiveModel::ValidateComparisonOfMatcher
    • class Shoulda::Matchers::ActiveModel::ValidateConfirmationOfMatcher
    • class Shoulda::Matchers::ActiveModel::ValidateExclusionOfMatcher
    • class Shoulda::Matchers::ActiveModel::ValidateInclusionOfMatcher
    • class Shoulda::Matchers::ActiveModel::ValidateLengthOfMatcher
    • class Shoulda::Matchers::ActiveModel::ValidateNumericalityOfMatcher
    • class Shoulda::Matchers::ActiveModel::ValidatePresenceOfMatcher
    • class Shoulda::Matchers::ActiveModel::ValidationMatcher
    • class Shoulda::Matchers::ActiveModel::ValidationMatcher::BuildDescription
    • class Shoulda::Matchers::ActiveModel::ValidationMessageFinder
    • class Shoulda::Matchers::ActiveModel::Validator
    • class Shoulda::Matchers::ActiveRecord::AcceptNestedAttributesForMatcher
    • class Shoulda::Matchers::ActiveRecord::AssociationMatcher
    • class Shoulda::Matchers::ActiveRecord::AssociationMatchers::CounterCacheMatcher
    • class Shoulda::Matchers::ActiveRecord::AssociationMatchers::DependentMatcher
    • class Shoulda::Matchers::ActiveRecord::AssociationMatchers::InverseOfMatcher
    • class Shoulda::Matchers::ActiveRecord::AssociationMatchers::JoinTableMatcher
    • class Shoulda::Matchers::ActiveRecord::AssociationMatchers::ModelReflection
    • class Shoulda::Matchers::ActiveRecord::AssociationMatchers::ModelReflector
    • class Shoulda::Matchers::ActiveRecord::AssociationMatchers::OptionVerifier
    • class Shoulda::Matchers::ActiveRecord::AssociationMatchers::OptionalMatcher
    • class Shoulda::Matchers::ActiveRecord::AssociationMatchers::OrderMatcher
    • class Shoulda::Matchers::ActiveRecord::AssociationMatchers::RequiredMatcher
    • class Shoulda::Matchers::ActiveRecord::AssociationMatchers::SourceMatcher
    • class Shoulda::Matchers::ActiveRecord::AssociationMatchers::ThroughMatcher
    • class Shoulda::Matchers::ActiveRecord::DefineEnumForMatcher
    • class Shoulda::Matchers::ActiveRecord::EncryptMatcher
    • class Shoulda::Matchers::ActiveRecord::HaveAttachedMatcher
    • class Shoulda::Matchers::ActiveRecord::HaveDbColumnMatcher
    • class Shoulda::Matchers::ActiveRecord::HaveDbColumnMatcher::DecoratedColumn
    • class Shoulda::Matchers::ActiveRecord::HaveDbIndexMatcher
    • class Shoulda::Matchers::ActiveRecord::HaveImplicitOrderColumnMatcher
    • class Shoulda::Matchers::ActiveRecord::HaveImplicitOrderColumnMatcher::PrimaryCheckFailedError
    • class Shoulda::Matchers::ActiveRecord::HaveImplicitOrderColumnMatcher::SecondaryCheckFailedError
    • class Shoulda::Matchers::ActiveRecord::HaveReadonlyAttributeMatcher
    • class Shoulda::Matchers::ActiveRecord::HaveRichTextMatcher
    • class Shoulda::Matchers::ActiveRecord::HaveSecureTokenMatcher
    • class Shoulda::Matchers::ActiveRecord::NormalizeMatcher
    • class Shoulda::Matchers::ActiveRecord::SerializeMatcher
    • class Shoulda::Matchers::ActiveRecord::Uniqueness::Model
    • class Shoulda::Matchers::ActiveRecord::Uniqueness::Namespace
    • class Shoulda::Matchers::ActiveRecord::Uniqueness::TestModelCreator
    • class Shoulda::Matchers::ActiveRecord::ValidateUniquenessOfMatcher
    • class Shoulda::Matchers::ActiveRecord::ValidateUniquenessOfMatcher::AttributeSetters
    • class Shoulda::Matchers::ActiveRecord::ValidateUniquenessOfMatcher::ExistingRecordInvalid
    • class Shoulda::Matchers::ActiveRecord::ValidateUniquenessOfMatcher::NonCaseSwappableValueError
    • class Shoulda::Matchers::Configuration
    • class Shoulda::Matchers::Document
    • class Shoulda::Matchers::Doublespeak::Double
    • class Shoulda::Matchers::Doublespeak::DoubleCollection
    • class Shoulda::Matchers::Doublespeak::MethodCall
    • class Shoulda::Matchers::Doublespeak::ObjectDouble
    • class Shoulda::Matchers::Doublespeak::ProxyImplementation
    • class Shoulda::Matchers::Doublespeak::StubImplementation
    • class Shoulda::Matchers::Doublespeak::World
    • class Shoulda::Matchers::Error
    • class Shoulda::Matchers::ExampleClass
    • class Shoulda::Matchers::Independent::DelegateMethodMatcher
    • class Shoulda::Matchers::Independent::DelegateMethodMatcher::DelegateObjectNotSpecified
    • class Shoulda::Matchers::Integrations::Configuration
    • class Shoulda::Matchers::Integrations::ConfigurationError
    • class Shoulda::Matchers::Integrations::Libraries::ActionController
    • class Shoulda::Matchers::Integrations::Libraries::ActiveModel
    • class Shoulda::Matchers::Integrations::Libraries::ActiveRecord
    • class Shoulda::Matchers::Integrations::Libraries::MissingLibrary
    • class Shoulda::Matchers::Integrations::Libraries::Rails
    • class Shoulda::Matchers::Integrations::Libraries::Routing
    • class Shoulda::Matchers::Integrations::Registry
    • class Shoulda::Matchers::Integrations::TestFrameworks::ActiveSupportTestCase
    • class Shoulda::Matchers::Integrations::TestFrameworks::Minitest4
    • class Shoulda::Matchers::Integrations::TestFrameworks::Minitest5
    • class Shoulda::Matchers::Integrations::TestFrameworks::MissingTestFramework
    • class Shoulda::Matchers::Integrations::TestFrameworks::Rspec
    • class Shoulda::Matchers::Integrations::TestFrameworks::TestUnit
    • class Shoulda::Matchers::Line
    • class Shoulda::Matchers::MatcherContext
    • class Shoulda::Matchers::Paragraph
    • class Shoulda::Matchers::RailsShim::FakeAttributeType
    • class Shoulda::Matchers::Text
    Overview
    H
    Home
    R
    Reference
    T
    Types
    C
    Changelogs
  • Documentation
    • README
    • Noncaseswappablevalueerror
  • More
    • Versions
    • Source
    • Playground
    • Stats
    • Metadata
    • Wiki
    • Announcements
    Community
    • Articles
    • Tutorials
    • Videos
    • Community
  1. Gems
  2. shoulda-matchers
  3. 6.5.0
  4. module Shoulda::Matchers::ActiveRecord::AssociationMatchers

module Shoulda::Matchers::ActiveRecord::AssociationMatchers

Classes in this namespace

CounterCacheMatcher

class

in Shoulda::Matchers::ActiveRecord::AssociationMatchers

DependentMatcher

class

in Shoulda::Matchers::ActiveRecord::AssociationMatchers

InverseOfMatcher

class

in Shoulda::Matchers::ActiveRecord::AssociationMatchers

JoinTableMatcher

class

in Shoulda::Matchers::ActiveRecord::AssociationMatchers

ModelReflection

class

in Shoulda::Matchers::ActiveRecord::AssociationMatchers

ModelReflector

class

in Shoulda::Matchers::ActiveRecord::AssociationMatchers

OptionVerifier

class

in Shoulda::Matchers::ActiveRecord::AssociationMatchers

OptionalMatcher

class

in Shoulda::Matchers::ActiveRecord::AssociationMatchers

OrderMatcher

class

in Shoulda::Matchers::ActiveRecord::AssociationMatchers

RequiredMatcher

class

in Shoulda::Matchers::ActiveRecord::AssociationMatchers

SourceMatcher

class

in Shoulda::Matchers::ActiveRecord::AssociationMatchers

ThroughMatcher

class

in Shoulda::Matchers::ActiveRecord::AssociationMatchers

Classes

  • Shoulda::Matchers::ActiveRecord::AssociationMatchers::CounterCacheMatcher
  • Shoulda::Matchers::ActiveRecord::AssociationMatchers::DependentMatcher
  • Shoulda::Matchers::ActiveRecord::AssociationMatchers::InverseOfMatcher
  • Shoulda::Matchers::ActiveRecord::AssociationMatchers::JoinTableMatcher
  • Shoulda::Matchers::ActiveRecord::AssociationMatchers::ModelReflection
  • Shoulda::Matchers::ActiveRecord::AssociationMatchers::ModelReflector
  • Shoulda::Matchers::ActiveRecord::AssociationMatchers::OptionVerifier
  • Shoulda::Matchers::ActiveRecord::AssociationMatchers::OptionalMatcher
  • Shoulda::Matchers::ActiveRecord::AssociationMatchers::OrderMatcher
  • Shoulda::Matchers::ActiveRecord::AssociationMatchers::RequiredMatcher
  • Shoulda::Matchers::ActiveRecord::AssociationMatchers::SourceMatcher
  • Shoulda::Matchers::ActiveRecord::AssociationMatchers::ThroughMatcher

Defined in

  • lib/shoulda/matchers/active_record/association_matchers.rb
  • lib/shoulda/matchers/active_record/association_matchers/counter_cache_matcher.rb
  • lib/shoulda/matchers/active_record/association_matchers/dependent_matcher.rb
  • lib/shoulda/matchers/active_record/association_matchers/inverse_of_matcher.rb
  • lib/shoulda/matchers/active_record/association_matchers/join_table_matcher.rb
  • lib/shoulda/matchers/active_record/association_matchers/model_reflection.rb
  • lib/shoulda/matchers/active_record/association_matchers/model_reflector.rb
  • lib/shoulda/matchers/active_record/association_matchers/option_verifier.rb
  • lib/shoulda/matchers/active_record/association_matchers/optional_matcher.rb
  • lib/shoulda/matchers/active_record/association_matchers/order_matcher.rb
  • lib/shoulda/matchers/active_record/association_matchers/required_matcher.rb
  • lib/shoulda/matchers/active_record/association_matchers/source_matcher.rb
  • lib/shoulda/matchers/active_record/association_matchers/through_matcher.rb
Home
Gems
Docs
Contribute
Monitoring
Twitter GitHub Mastodon

© 2025 gem.sh - Beautiful documentation for any Ruby gem