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
It looks like 6be9c49 is causing this. Dumping params now includes @logging_context, which is failing because it includes the request object some anonymous class nested in the request object
After upgrading to Rails 7 doing params.to_yaml in a controller fails with TypeError (can't dump anonymous module ). Works in Rails 6.
Steps to reproduce
Expected behavior
Submited parameters should be returned as YAML
Actual behavior
Request fails with TypeError (can't dump anonymous module )
System configuration
Rails version: example code is with branch: "main" (Affects all version from 7.0.0 and up as far as I can tell)
Ruby version: 2.7.5
The text was updated successfully, but these errors were encountered: