Query that display the list for todays records

hello all,

How do i make a query on active records that would display the list of
all records that happened on this day or lets says today’s transaction
records.

“Datetime” is my data type of the field on the database. Any help /
advice will be appreciated.

Thank you

On Mon, Feb 2, 2009 at 10:37 AM, Johnroy W. <
[email protected]> wrote:

Thank you

Posted via http://www.ruby-forum.com/.

Model.find(:all, :conditions => {:created_at =>
(Time.now.beginning_of_day…Time.now.end_of_day)})


Andrew T.
http://ramblingsonrails.com
http://www.linkedin.com/in/andrewtimberlake

“I have never let my schooling interfere with my education” - Mark Twain