Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After upgrading to Rails 7.1 there were persistent 'stack level too deep' with some partials. This was traced back to: https://github.com/rails/rails/blob/fa9cf269191c5077de1abdd1e3f934fbeaf2a5d0/activesupport/lib/active_support/core_ext/object/json.rb#L58-L66 Changing this monkey patch slightly prevents the errors. Ideally, this will be removed when a better solution is found. See: rails/rails#51626
- Loading branch information