search for: remindermail

Displaying 1 result from an estimated 1 matches for "remindermail".

Did you mean: remindermailer
2008 Nov 12
4
Help! getting a "can't dup NilClass" error and don't know what to do about it.
...of a poor mans AR:Mailer. But I am getting a "can''t dup NilClass" when I hit it with a http request. ********************************** def message @reminders = Reminder.find(:all, :order => "created_at DESC", :limit => 5) for reminder in @reminders ReminderMailer.deliver_reminder_message(reminder) reminder.destroy end render :nothing => true, :status => 401 # Unauhorized end ************************************ I believe the Mailer class is working right. Although when I remove the ReminderMailer line the rest of the method works fi...