SyntaxFix
Write A Post
Hire A Developer
Questions
If you only want to get one day it would be easier this way:
Comment.all(:conditions => ["date(created_at) = ?", some_date])