rails/actiontext/test
Petrik 3b49e47ce8 Use includes instead of eager_load for with_all_rich_text
`eager_load` performs a single query using a `LEFT OUTER JOIN` to load
the associations. Loading the associations in a join can result in many
rows that contain redundant data and it performs poorly at scale.

With `includes` a separate query is performed for each association,
unless a join is required by conditions.

Co-authored-by: Rafael Mendonça França <rafael@franca.dev>
2024-01-16 22:06:19 +01:00
..
dummy Do not generate pidfile in production environments (#50644) 2024-01-08 14:47:25 -05:00
fixtures Improve ActionText extensiblibility 2020-12-29 20:06:45 -05:00
integration Update Action Text to use HTML5 when available 2023-06-19 15:59:59 -04:00
models Take AR affixes into account for Action Text database models 2023-12-09 11:05:52 +01:00
system Fix action text tests by updating dummy app to use import maps instead 2023-01-08 22:33:30 +00:00
template Add test coverage for rich_text_area helper 2023-12-03 14:53:44 -05:00
unit Use includes instead of eager_load for with_all_rich_text 2024-01-16 22:06:19 +01:00
application_system_test_case.rb Add ActionDispatch::SystemTestCase#fill_in_rich_text_area 2019-05-13 12:44:06 -04:00
javascript_package_test.rb fix using actiontext.js in sprocket 2023-11-07 00:36:53 -03:00
test_helper.rb Expose assert_queries and assert_no_queries assertions 2023-12-11 12:31:16 +01:00