method
finder_needs_type_condition?
v3.0.9 -
Show latest stable
- Class:
ActiveRecord::Base
finder_needs_type_condition?()public
No documentation available.
# File activerecord/lib/active_record/base.rb, line 790
def finder_needs_type_condition? #:nodoc:
# This is like this because benchmarking justifies the strange :false stuff
:true == (@finder_needs_type_condition ||= descends_from_active_record? ? :false : :true)
end