On Thu, Jul 15, 2010 at 12:09 PM, Rob Biedenharn <[email protected]> wrote:
> Try: > > Product.find(:all, :conditions => ["DATE(created_at) = ?", selected_date]) Note: this makes an assumption about what DB you're using -- e.g. Oracle has no such function and will throw an error :-) FWIW, -- Hassan Schroeder ------------------------ [email protected] twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

