module ActionDispatch::Cookies::SerializedCookieJars

def needs_migration?(value)

def needs_migration?(value)
  request.cookies_serializer == :hybrid && value.start_with?(MARSHAL_SIGNATURE)
end