You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As noted in this PR comment, it looks like there's an issue where the memo wise hash is sometimes not caught when using this new marshalling format version.
What's happening here is the new format for caching does not cache instance variables for active record objects. Thus the memo wise instance variable is nil and we see our NoMethodError. The Rails team discourages the caching of AR objects. However, it's been effective tool for our team. In our project we added some custom marshalling code to ensure the memo wise instance variable is cached and loaded from the cache appropriately. Anyways, closing this issue, as I think this is actually a weird side effect of Rails changing behavior and not a bug.
As noted in this PR comment, it looks like there's an issue where the memo wise hash is sometimes not caught when using this new marshalling format version.
This surfaces as
NoMethodError: undefined method 'fetch' for nil
I've observed this behavior on version 1.7 and 1.10
The text was updated successfully, but these errors were encountered: