Ruby on Rails
Monday, May 31, 2010
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 <lists@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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment