cookie_serializer in Rails 7

Viewed 25

Upgrading to Rails 7 and going through new_framework_defaults_7.0.rb and not understanding in Rails.application.config.action_dispatch.cookies_serializer = :json and "# If you have configured the serializer elsewhere, you can remove this."

Does the statement mean I can remove config/cookies_serializer.rbor the line innew_framework_defaults_7.0.rb`. I assume it needs to be set somewhere, but not twice.

0 Answers
Related