Customer.where('id in ?',[1,2]).to_sql=>"SELECT `customers`.* FROM `customers` WHERE (id in 1,2)"Customer.where('id in (?)',[1,2]).to_sql=>"SELECT `customers`.* FROM `customers` WHERE (id in (1,2))"Customer.where(id: [1,2]).to_sql=>"SELECT `customers`.* FROM `customers` WHERE `customers`.`id` IN (1, 2)"