Flowdock
method

in_or_equals_for_ids

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActiveRecord::AssociationPreload::ClassMethods
in_or_equals_for_ids(ids) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/association_preload.rb, line 391
      def in_or_equals_for_ids(ids)
        ids.size > 1 ? "IN (?)" : "= ?"
      end
Register or log in to add new notes.