paperplanes. run_later Gets Some Rails 2.3 Middleware Love

In earlier version I needed to do an awkward thing that only affected development mode, where Rails unloads all classes after each request. run_later runs code in a separate thread, and depending on how long that code runs the classes would be unloaded when they're still accessed from the worker.

Lexy About 15 years ago