search for: jmettraux

Displaying 3 results from an estimated 3 matches for "jmettraux".

2010 May 30
5
Automatically decrement value each day
I have a Person model with a points attribute. For the most part, points values will be incremented and decremented via user votes. However, I''d also like to decrement a Person''s points by half a point each day. How do I automatically decrement the value once per day? Your help is greatly appreciated :) Becky -- Posted via http://www.ruby-forum.com/. -- You received this
2011 Jul 05
9
How to implement a schedule of recurring events?
Hello, I am fairly new to Ruby and Ruby on Rails. I am creating an application that "has many :groups", each with their own schedule of events. This is a little different than a calendar of events, since these events recur every week and do not have a specific date. So for example, I need to display a schedule for one group that looks like this: Group A''s Activities - Monday
2010 Jun 03
7
Scheduled tasks in Rails: Cron + wget = Best solution?
Hi there, do you agree that for having scheduled tasks in Rails, the leanest solution is the following? - Create a controller with an action for each task - Implement the logic of the task as controller code - Set up a cron job at the OS level that uses wget to invoke the URL of this controller/action at the appropriate time intervals Advantages: 1) full access to all your Rails objects just as