1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actiontext/test
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
..
dummy Change form_with to generate non remote forms by default 2020-12-01 21:14:37 +01:00
fixtures Add ActionText::FixtureSet.attachment 2020-10-30 15:53:35 -04:00
integration Always render Action Text HTML with :html format 2020-11-27 10:59:24 -06:00
system Locate fill_in_rich_text_area by <label> text 2020-10-02 18:02:14 -04:00
template Add value option to ActionView::Helpers::FormBuilder#rich_text_area 2020-09-01 21:43:07 -04:00
unit Fix rendering Action Text HTML in new threads 2020-12-07 16:41:44 -05:00
application_system_test_case.rb Add ActionDispatch::SystemTestCase#fill_in_rich_text_area 2019-05-13 12:44:06 -04:00
test_helper.rb Address "ArgumentError: missing keywords: :sql, :name" when unit tests run by ruby 3.0.0dev 2020-11-25 12:58:03 +09:00