method
using_limitable_reflections?
v1.1.6 -
Show latest stable
- Class:
ActiveRecord::Associations::ClassMethods
using_limitable_reflections?(reflections)private
No documentation available.
# File activerecord/lib/active_record/associations.rb, line 1221
def using_limitable_reflections?(reflections)
reflections.reject { |r| [ :belongs_to, :has_one ].include?(r.macro) }.length.zero?
end