Re: Actionmailer Help Needed

Jenny Blunt
Fri, 29 Jul 2011 16:45:32 -0000

Hi

Ok, so I have created the find user action in my controller:

@user = User.joins(:tasks).where("tasks.dueddate <= ? AND tasks.status =
?", Date.today + 7.days, false)

Which works although I need to get the distinct values out now.

What''s the next stage to get actionmailer working with this or am I
miles off?

Thanks

Jenny