The SQL equivalent of the above is: SELECT * FROM customers WHERE (customers.id IN (1,10)) Copy. The find method will raise an ActiveRecord::RecordNotFound ...
確定! 回上一頁