APIdock / Ruby on Rails
/
Browse About
method

chain

v3.2.1 - Show latest stable - Class: ActiveRecord::Reflection::AssociationReflection
chain()
public

A chain of reflections from this one back to the owner. For more see the explanation in ThroughReflection.

# File activerecord/lib/active_record/reflection.rb, line 261
      def chain
        [self]
      end

Related methods

  • Instance methods
  • active_record_primary_key
  • association_class
  • association_foreign_key
  • association_primary_key
  • belongs_to?
  • build_association
  • chain
  • check_validity!
  • check_validity_of_inverse!
  • collection?
  • columns
  • conditions
  • counter_cache_column
  • foreign_key
  • foreign_type
  • has_inverse?
  • inverse_of
  • klass
  • nested?
  • polymorphic_inverse_of
  • primary_key_column
  • quoted_table_name
  • reset_column_information
  • source_reflection
  • table_name
  • through_reflection
  • type
  • validate?
  • Class methods
  • new
  • Private methods
  • privatederive_class_name
  • privatederive_foreign_key
  • privateprimary_key
APIdock API Documentation Browser

© 2026 APIdock