Does ActiveRecord support tuples in the where clause if the underlying database does?
As a result, the where clause will look something like this:
where (name, address) in (('John', '123 Main St'))
I tried:
Person.where({[:name, :address] => ['John', '123 Main St']})
and it didn’t work.
source share