Posted about 1 month ago. Visible to the public. Linked content. Auto-destruct in 17 days

Updated: request_store: Per-request global storage for your Rails app

Note that RequestStore just uses Thread.current under the hood and injects a Rack middleware that calls RequestStore.clear! after each request.
If you use RequestStore in a non-request context where (like background jobs), you must clear the store yourself or your cached data will stay in Thread.current.

Once an application no longer requires constant development, it needs periodic maintenance for stable and secure operation. makandra offers monthly maintenance contracts that let you focus on your business while we make sure the lights stay on.

Owner of this card:

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