How to write the :condition statement if I would like to get all the record which are created today?
Model.all :condition => ["DATE(created_at) = DATE(?)", Time.now]
ModelName.all :condition => ["DATE(created_at) = DATE(?)", Time.now]