Using Heroku Scheduler for Rails 3.1.3

Heroku recently launched Scheduler that is more advanced than the previously scheduled task runner, Cron. Unlike Cron, Schduler can run on hourly basis for "free", though Heroku charges for the amount of time you ran Schduler. Previously pricing model for Cron was rather ridiculous. Heroku was charging something like $3/month for simply installing Cron running on hourly basis. 

Installing Scheduler is super easy. Just follow the documentation on Heroku website. However, here are some odd quarks to keep in while you install Scheduler on your Rails app.

1. The name of the task on Heroku Scheduler page must equal the name declared in the scheduler.rake

2. undefined method `methodname' for #<memory location> Error
I was getting this error, when I was running something along the line of User.send_reminders in my scheduler. This was problematic because I did not have my method in User class of User model. Instead send_reminders method in my case was found in UsersController class. So here's what I did instead.

users_controller = UsersController.new
users_controller.send_reminders