How to get a before filter in Mailer?
Am using action mailer in ruby on rails.
I just wa开发者_如何学Pythonnt to filter the recipient emails according to email_bounce flag in users table.
Is it possible to use any filter in mailer
I recommend doing this in controller use mailer for sending emails only. I normally learn to keeping logic in model and controller
精彩评论