Sha256: 9cc800d415ecdc82aa612b6f25364a9a80782870e7e9d9842039ee165ed3a03d
Contents?: true
Size: 310 Bytes
Versions: 25
Compression:
Stored size: 310 Bytes
Contents
module ActiveRecord class PredicateBuilder class RelationHandler # :nodoc: def call(attribute, value) if value.select_values.empty? value = value.select(value.klass.arel_table[value.klass.primary_key]) end attribute.in(value.arel.ast) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems