hi there,
@message.recipients = Volunteer.all(
:select => "DISTINCT email",
:conditions => "email IS NOT NULL AND email <> ''").map(&:email).join
(", ")
I think one line like that would work for you.
(You don't need to use the shortcut symbol to proc if you don't like
it)
cheers
Regedor