no scheduler solution: why not use created_at or updated_at? simply get current date than compute days since your prefered event and make it half...
On Sun, May 30, 2010 at 6:26 PM, Becky Russoniello <li...@ruby-forum.com>wrote: > Wow! Perfect. Thank you so much. > > > Sharagoz wrote: > > I would use a scheduler for this kind of stuff. A pure ruby solution > > is rufus scheduler: > > http://github.com/jmettraux/rufus-scheduler > > With rufus scheduler you can schedule a routine that runs every day at > > a given hour and decrements every persons points by 0.5. > > -- > Posted via http://www.ruby-forum.com/. > > -- > 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-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.