Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- find products first {"id":["=",1],"name":["=",["name","huy"]],"part_number":["=",5]} {"order":"id","direction":"DESC","limit":"","offset":""}
- Product.where(:id => 1, :name => ['name', 'huy'], :part_number => 5).first
Add Comment
Please, Sign In to add comment