search for: subscriptions_control

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

2009 Dec 21
2
Multiple email recipients
I''m trying to call multiple email addresses from database. But dont know how to get the logic into the recipients field. #subscriptions_controller def deliver @subscription = Subscription.find(params[:id]) @users = @subscription.users @subscription_recipients = @users.find(:all).collect { |user| user.email } @subscription.deliver flash[:notice] = "Delivered Subscription" redirect_to subscriptions_url end...