I have a rails app that is run exclusively as a script/runner process,
and I’d like to be able to catch all errors that occur in these
processes in a standardized way.
With a normal rails app, one can override rescue_action_in_public in
ApplicationController, but I’m only using models. Is there something
similar I can do? Any help is much appreciated.