There's a test code directly accessing a cached instance variable inside Active Support MemoryStore object, but since Rails 7.1 changed its implementation to hold the @data ivar as a marshalled String, the test now fails on edge Rails.
This patch fixes the failure by properly calling publicly accessible API.
Here's a fix for the edge Rails CI failure.
There's a test code directly accessing a cached instance variable inside Active Support MemoryStore object, but since Rails 7.1 changed its implementation to hold the
@data
ivar as a marshalled String, the test now fails on edge Rails.This patch fixes the failure by properly calling publicly accessible API.