Ruby on Rails Friday, July 29, 2011

On Jul 29, 9:02 am, Jenny Blunt <li...@ruby-forum.com> 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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment