rails--rails/actiontext/test/unit
Jonathan Hefner ef61c9c8a3
Fix rendering Action Text HTML in new threads
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.
2020-12-07 16:41:44 -05:00
..
attachment_test.rb Fix ActiveStorage::Blob → ActionText::TrixAttachment conversion 2019-12-03 05:57:36 -05:00
content_test.rb Fix rendering Action Text HTML in new threads 2020-12-07 16:41:44 -05:00
fixture_set_test.rb Add ActionText::FixtureSet.attachment 2020-10-30 15:53:35 -04:00
model_test.rb Add support for eager loading all rich text associations at once (#39397) 2020-11-24 18:19:46 +01:00
plain_text_conversion_test.rb Add test for figcaption in actiontext 2020-01-18 22:07:16 -03:00
trix_attachment_test.rb