-
Jean Boussier authored
Fix: https://github.com/rails/rails/issues/47704 Superseed: https://github.com/rails/rails/pull/47722 While the instance variable ordering bug will be fixed in Ruby 3.2.2, it's not great that we're depending on such brittle implementation detail. Additionally, Marshalling Active Record instances is currently very inefficient, the payload include lots of redundant data that shouldn't make it into the cache. In this new format the serialized payload only contains basic Ruby core or stdlib objects, reducing the risk of changes in the internal representation of Rails classes.
Jean Boussier authoredFix: https://github.com/rails/rails/issues/47704 Superseed: https://github.com/rails/rails/pull/47722 While the instance variable ordering bug will be fixed in Ruby 3.2.2, it's not great that we're depending on such brittle implementation detail. Additionally, Marshalling Active Record instances is currently very inefficient, the payload include lots of redundant data that shouldn't make it into the cache. In this new format the serialized payload only contains basic Ruby core or stdlib objects, reducing the risk of changes in the internal representation of Rails classes.
Loading