ActiveRecord::Extensions 0.5.0 is released! It includes better finder support for Time objects when operating against DATE or DATETIME columns. http://www.continuousthinking.com/2007/3/14/activerecord-extensions-0-5-0-released # to find users who have logged in in the past 15 minutes User.find :all, :conditions=>{ :logged_in_at_gt => Time.now-15.minutes } Zach --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Zach, Is this available as a gem cheers </jima> zdennis wrote:> ActiveRecord::Extensions 0.5.0 is released! It includes better finder > support for Time objects when operating against DATE or DATETIME > columns. > > http://www.continuousthinking.com/2007/3/14/activerecord-extensions-0-5-0-released > > # to find users who have logged in in the past 15 minutes > User.find :all, :conditions=>{ :logged_in_at_gt => > Time.now-15.minutes } > > Zach > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 13, 11:25 pm, Jim Alateras <jalate...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Zach, > > Is this available as a gemCurrently it is not, but I will release a gem tonight now. Thanks, Zach --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
zdennis wrote:> > > On Mar 13, 11:25 pm, Jim Alateras <jalate...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Zach, >> >> Is this available as a gem > > Currently it is not, but I will release a gem tonight now. Thanks,that''s great...can you ping the list when you''re done. cheers </jima> --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
It has been released as a gem! Zach On Mar 14, 4:42 pm, Jim Alateras <jalate...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> zdennis wrote: > > > On Mar 13, 11:25 pm, Jim Alateras <jalate...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Zach, > > >> Is this available as a gem > > > Currently it is not, but I will release a gem tonight now. Thanks, > > that''s great...can you ping the list when you''re done. > > cheers > </jima>--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---