class ParamsReady::Query::In
Public Class Methods
test(record, attribute_name, values)
click to toggle source
# File lib/params_ready/query/predicate_operator.rb, line 56 def self.test(record, attribute_name, values) attribute = record.send attribute_name values.include? attribute end