mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ef61c9c8a3
Because `ActionText::Content.renderer` is implemented as a `thread_cattr_accessor`, any default value set in the main thread will be inaccessible from other threads. Therefore, use a `cattr_accessor` to store the default renderer, and fall back to it when `renderer` has not been set by e.g. `with_renderer`. Fixes #40757. |
||
---|---|---|
.. | ||
dummy | ||
fixtures | ||
integration | ||
system | ||
template | ||
unit | ||
application_system_test_case.rb | ||
test_helper.rb |