search for: deliver_people_emails

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

2007 Feb 14
1
Scheduling in backgroundrb not working
...end def send_emails_to_people @d_evals = User.find(:all,:conditions => [''id <= ?'',3] for lop in @d_users logger.info(''I am in loop'') @user = User.find(:first, :conditions => [ ''id = ?'',lop.id]) UserNotify.deliver_people_emails(@user) end end end MailmanWorker.register -------------------------------------Controller code----- class TestffController < ApplicationController def a_pop MiddleMan.new_worker(:class => :mailman_worker, :job_key => :foo_name) worker = MiddleMan.worker(:foo_name...