but the model isn’t the right place to send mail from. That just
seems like pretty bad coupling, generating emails from within the
model. Or is that not a problem? On top of that, these emails need
to contain links back to my site…which is a bit of a pain in
ActionMailer, but I found directions on
however I won’t be able to pass in an instance of the controller if
I’m generating the emails from the model.
Anyway, when a certain method is called on my model, I want to send an
email out to a bunch of users associated with that model, and have
each email contain a link back to the app. What’s the best way to go
about doing that?