3 ms·
Indeed. I have a Rails app running with some fairly complex object relationships, along with several notifications that potentially need to be sent out if any o
by rufo 17y ago
Indeed. I have a Rails app running with some fairly complex object relationships, along with several notifications that potentially need to be sent out if any one of the objects is updated.
Considering the how many entry points could trigger a notification, the controller would be an insane place to put these, even with a mixin. An observer seems a far better place for that type of message.