mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
7b5096947e
It's `Rails.application.executor.wrap` that is responsible for clearing request/job local state such as `CurrentAttributes`. Instead of including an ad hoc helper to clear `CurrentAttributes` it's better to run the executor so we properly clear other states as well. However it means all executor hooks now need to be re-entrant. |
||
---|---|---|
.. | ||
test_helper.rb |