Created
January 2, 2009 06:52
-
-
Save speedmax/42483 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> Product.find :all, :conditions => ["title LIKE ?", "c%"] | |
=> [#<Product id: 339768653, title: "Canon EOS 40D 10.1MP Digital SLR Camera", description: "This is an H1\r\n=============\r\n\r\n\r\n\r\nBuilding on the...", price: 1199.0, created_at: "2008-06-05 23:50:39", updated_at: "2008-09-05 12:31:06", quantity: 70, brand_id: 528229938, product_type_id: 985430838, price_min: #<BigDecimal:2483b98,'0.1199E4',4(8)>, price_max: #<BigDecimal:2483b5c,'0.1899E4',4(8)>, handle: "canon-eos-40d-101mp-digital-slr-camera", description_html: "<h1>This is an H1</h1>\n\n<p>Building on the success ...", filter: "markdown_filter">, #<Product id: 1024741415, title: "Casio Exilim EX-S10", description: "Casio has its finger in more pies than Billy Bunter...", price: 249.0, created_at: "2008-06-05 23:50:39", updated_at: "2008-06-05 23:50:39", quantity: 50, brand_id: 528229938, product_type_id: 425291712, price_min: #<BigDecimal:2483634,'0.249E3',4(8)>, price_max: #<BigDecimal:24835f8,'0.249E3',4(8)>, handle: "casio-exilim-ex-s10", description_html: nil, filter: nil>] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment