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. |
||
---|---|---|
.. | ||
attachables | ||
attachments | ||
attachable.rb | ||
attachment.rb | ||
attachment_gallery.rb | ||
attribute.rb | ||
content.rb | ||
engine.rb | ||
fixture_set.rb | ||
fragment.rb | ||
gem_version.rb | ||
html_conversion.rb | ||
plain_text_conversion.rb | ||
rendering.rb | ||
serialization.rb | ||
system_test_helper.rb | ||
trix_attachment.rb | ||
version.rb |