APIdock / Ruby on Rails
/
Browse About
method

collect_join_chain

v5.1.7 - Show latest stable - Class: ActiveRecord::Reflection::AssociationReflection
collect_join_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 504
      def collect_join_chain
        [self]
      end

Related methods

  • Instance methods
  • active_record_primary_key
  • add_as_polymorphic_through
  • add_as_source
  • add_as_through
  • association_class
  • association_foreign_key
  • association_primary_key
  • association_primary_key_type
  • association_scope_cache
  • belongs_to?
  • check_eager_loadable!
  • check_preloadable!
  • check_validity!
  • clear_association_scope_cache
  • collect_join_chain
  • collection?
  • compute_class
  • constructable?
  • extensions
  • foreign_key
  • has_inverse?
  • has_one?
  • has_scope?
  • join_id_for
  • join_table
  • klass
  • macro
  • nested?
  • polymorphic?
  • polymorphic_inverse_of
  • source_reflection
  • through_reflection
  • validate?
  • Class methods
  • new
  • Protected methods
  • protectedactual_source_reflection
  • Private methods
  • privateautomatic_inverse_of
  • privatecalculate_constructable
  • privatecan_find_inverse_of_automatically?
  • privatederive_class_name
  • privatederive_foreign_key
  • privatederive_join_table
  • privateinverse_name
  • privateprimary_key
  • privatevalid_inverse_reflection?
APIdock API Documentation Browser

© 2026 APIdock