nyastodon/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
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
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