module Pluckers::Features::HasManyReflections
Public Instance Methods
active_record_has_many_reflection?(reflection)
click to toggle source
# File lib/pluckers/features/active_record_3_2/has_many_reflections.rb, line 7 def active_record_has_many_reflection? reflection reflection.is_a?(ActiveRecord::Reflection::AssociationReflection) && (reflection.macro == :has_many) end