rails/actiontext/test/unit
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
..
attachable_test.rb fix ActionText::Attachable#as_json to allow options 2023-09-27 00:51:18 +09:00
attachment_test.rb make sure rendering the content attachment actually works 2022-08-04 10:07:23 -06:00
content_test.rb Remove all code to work with Ruby < 3.1 2024-01-03 19:02:31 +00:00
fixture_set_test.rb Add ActionText::FixtureSet.attachment 2020-10-30 15:53:35 -04:00
model_encryption_test.rb Removes the Action Text dependency from Active Record 2021-04-01 15:02:15 +02:00
model_test.rb Use includes instead of eager_load for with_all_rich_text 2024-01-16 22:06:19 +01:00
plain_text_conversion_test.rb Better ActionText plain text output for nested lists (#37976) 2021-10-12 18:05:04 +02:00
strict_loading_test.rb Support has_rich_text with strict_loading: 2022-10-18 17:06:26 -04:00
trix_attachment_test.rb Import Action Text 2019-01-04 22:22:49 -05:00