Posted about 10 years ago. Visible to the public. Linked content.

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.

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Owner of this card:

Avatar
Lexy
Last edit:
almost 9 years ago
Keywords:
rails
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Lexy to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more