Re: Actionmailer Help Needed

Frederick Cheung
Fri, 29 Jul 2011 08:27:55 -0000

On Jul 29, 9:02 am, Jenny Blunt
<li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
wrote:
> Hello zettabyte
>
> Thanks for your reply. Am really baffled by this problem - not sure why
> I can''t get my head around it!!
>
> I''m trying to send one email per user with a list of that
user''s task
> which are due.
>
> The problem is that I''ve been following tutorials which
don''t exactly
> cover what I''m trying to achieve and am having issues modifying my
code
> accordingly.

It boils down to why is your mailer template (that is supposed to
render a single email), calling Task.send_reminders, given that is the
method that is supposed to send all the emails ? What are you trying
to iterate over in the template ?

Fred
>
> Thanks for your help, looking forward to your reply
>
> Jenny x
>
> --
> Posted viahttp://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.