Class: ActiveAny::Reflection::HasManyReflection
- Inherits:
-
AssociationReflection
- Object
- AssociationReflection
- ActiveAny::Reflection::HasManyReflection
- Defined in:
- lib/active_any/reflection/has_many_reflection.rb
Instance Attribute Summary
Attributes inherited from AssociationReflection
#name, #options, #record_class, #scope
Instance Method Summary collapse
Methods inherited from AssociationReflection
#belongs_to?, #check_preloadable!, #class_name, #compute_class, #foreign_key, #initialize, #inverse_of, #join_keys, #klass, #marco, #record_class_primary_key, #scope_for
Constructor Details
This class inherits a constructor from ActiveAny::Reflection::AssociationReflection
Instance Method Details
#association_class ⇒ Object
6 7 8 |
# File 'lib/active_any/reflection/has_many_reflection.rb', line 6 def association_class Associations::HasManyAssociation end |
#collection? ⇒ Boolean
14 15 16 |
# File 'lib/active_any/reflection/has_many_reflection.rb', line 14 def collection? true end |
#macro ⇒ Object
10 11 12 |
# File 'lib/active_any/reflection/has_many_reflection.rb', line 10 def macro :has_many end |