Archive for June, 2008

Wednesday, June 11th, 2008

Ruby on Rails email scheduling using runner and cron

Problem
You want to send emails from a Ruby on Rails application, when there is a specific condition on a database table. If the database table gets modified by another application outside Rails you cannot use an observer model.
Solution
We already assume that:

You are using a database
You have a model named voicemail (id, number_id, audio, created_at, updated_at)
You [...]

1 Comment » - Posted in linux, ruby on rails by kosmas