APIdock / Ruby on Rails
/
Browse About
class

ActiveRecord::Reflection::AssociationReflection

v4.0.2 - Show latest stable - Superclass: MacroReflection

Holds all the meta-data about an association as it was specified in the Active Record class.

Files

  • activerecord/lib/active_record/reflection.rb

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
  • counter_cache_column
  • foreign_key
  • foreign_type
  • has_and_belongs_to_many?
  • has_inverse?
  • inverse_of
  • join_table
  • klass
  • nested?
  • polymorphic?
  • polymorphic_inverse_of
  • primary_key_column
  • quoted_table_name
  • reset_column_information
  • scope_chain
  • source_reflection
  • table_name
  • through_reflection
  • type
  • validate?
  • Class methods
  • new
  • Private methods
  • privatederive_class_name
  • privatederive_foreign_key
  • privatederive_join_table
  • privateprimary_key
APIdock API Documentation Browser

© 2026 APIdock