class
ActiveRecord::Reflection::AssociationReflection
v5.2.3 -
Show latest stable
- Superclass: MacroReflection
Holds all the metadata about an association as it was specified in the Active Record class.
Constants
INVALID_AUTOMATIC_INVERSE_OPTIONS = [:through, :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