jeudi 9 juillet 2015

How to send Rails Mailer (reminder email) upon if statement NOT by a user action

Until now, all of my rails mailers are triggered by a user action (creating account, sending requests, etc). However now I'd like to send out a (reminder) email without a user action, but instead if two statements are true (time passed & enum status pending). What would be the best way to set this up? Could I possibly use a worker? Thanks, Robin

Aucun commentaire:

Enregistrer un commentaire