catstodon/app
Jean Boussier 03a96ba2e1 Workaround the ActiveRecord / Marshal serialization bug on Ruby 3.2
Fix: https://github.com/mastodon/mastodon/issues/23644

As mentioned on that other thread, the issue arise when a `Status`
is created with SHAPE_TOO_COMPLEX making the instance variable ordering
unpredictable.

But we can sidestep that issue using code inspired from Shopify/paquito.

I added some code in the test environment initializer to cause this
issue to be reproduced and prove this change fixes it.

This code is also easily converted into a monkey patch.
2023-03-17 11:37:22 +00:00
..
chewy Revert reverting "Change algorithm of tootctl search deploy to improve performance (#18463)". 2022-05-26 20:58:16 +02:00
controllers Workaround the ActiveRecord / Marshal serialization bug on Ruby 3.2 2023-03-17 11:37:22 +00:00
helpers Merge branch 'main' into glitch-soc/merge-upstream 2023-03-02 17:32:38 +01:00
javascript Merge remote-tracking branch 'upstream/main' into develop, bump version 2023-03-17 07:27:28 +01:00
lib Merge remote-tracking branch 'upstream/main' into develop, bump version 2023-03-17 07:27:28 +01:00
mailers Add mail headers to avoid auto-replies (#23597) 2023-03-03 20:44:46 +01:00
models Merge remote-tracking branch 'upstream/main' into develop, bump version 2023-03-17 07:27:28 +01:00
policies Merge branch 'main' into glitch-soc/merge-upstream 2022-11-17 12:01:37 +01:00
presenters Remove unused InstancePresenter#sample_accounts method (#23900) 2023-02-27 19:03:35 +01:00
serializers Merge remote-tracking branch 'upstream/main' into develop 2023-03-15 14:13:29 +01:00
services Merge remote-tracking branch 'upstream/main' into develop, bump version 2023-03-17 07:27:28 +01:00
validators Merge remote-tracking branch 'upstream/main' into develop 2023-03-15 14:13:29 +01:00
views Merge remote-tracking branch 'upstream/main' into develop, bump version 2023-03-17 07:27:28 +01:00
workers Merge remote-tracking branch 'upstream/main' into develop, bump version 2023-03-17 07:27:28 +01:00