ruby where method code example Example: .where ruby Client.where("orders_count = '2'") # SELECT * from clients where orders_count = '2';