class

ActiveRecord::Reflection::AssociationReflection

v4.2.7 - Show latest stable - Superclass: MacroReflection

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

Constants

INVALID_AUTOMATIC_INVERSE_OPTIONS = [:conditions, :through, :polymorphic, :foreign_key]

VALID_AUTOMATIC_INVERSE_MACROS = [:has_many, :has_one, :belongs_to]

Attributes

[R]foreign_type
[RW]parent_reflection
[R]type

Files

  • activerecord/lib/active_record/reflection.rb