method

serializer

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: SerializedCookieJars
serializer() protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 592
        def serializer
          serializer = request.cookies_serializer || :marshal
          case serializer
          when :marshal
            MarshalWithJsonFallback
          when :json, :hybrid
            JsonSerializer
          else
            serializer
          end
        end
Register or log in to add new notes.