3 ms·
There are some things you just can't do at the model level, for example if the email contains a URL dependent on internationalization (ie myapp.com/login or mya
by matthewcford 17y ago
There are some things you just can't do at the model level, for example if the email contains a URL dependent on internationalization (ie myapp.com/login or myapp.co.uk/login) the logic is in the controller (you could store the preferred local but this is just an example).
Who does the actual sending via model callbacks/controller actions anymore anyway? It's prime background task material and you should just be shoving it onto a queue.