class ActiveAny::Reflection::HasManyReflection

Public Instance Methods

association_class() click to toggle source
# File lib/active_any/reflection/has_many_reflection.rb, line 6
def association_class
  Associations::HasManyAssociation
end
collection?() click to toggle source
# File lib/active_any/reflection/has_many_reflection.rb, line 14
def collection?
  true
end
macro() click to toggle source
# File lib/active_any/reflection/has_many_reflection.rb, line 10
def macro
  :has_many
end

Private Instance Methods

join_fk() click to toggle source
# File lib/active_any/reflection/has_many_reflection.rb, line 24
def join_fk
  record_class_primary_key
end
join_pk() click to toggle source
# File lib/active_any/reflection/has_many_reflection.rb, line 20
def join_pk
  foreign_key
end