instance method using_limitable_reflections?

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18 Private

Available in: v2.2.3 v2.3.18

Signature

using_limitable_reflections?(reflections)

No documentation comment.

Parameters

reflections req
Source
# File activerecord/lib/active_record/associations.rb, line 1770
        def using_limitable_reflections?(reflections)
          reflections.reject { |r| [ :belongs_to, :has_one ].include?(r.macro) }.length.zero?
        end

Defined in activerecord/lib/active_record/associations.rb line 1770 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Associations::ClassMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close