title: How can I ensure an operation runs before Rails exits, without using `at_exit`?
body: <p>I have an operation that I need to execute in my rails application that before my Rails app dies. Is there a hook I can utilize in Rails for this? Something similar to <code>at_exit</code> I guess.</p>