instance method serializer

Ruby on Rails 4.1.16

Since v4.1.16 Last seen in v4.1.16

Signature

serializer()

No documentation comment.

Source
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 435
        def serializer
          serializer = @options[:serializer] || :marshal
          case serializer
          when :marshal
            Marshal
          when :json, :hybrid
            JsonSerializer
          else
            serializer
          end
        end

Defined in actionpack/lib/action_dispatch/middleware/cookies.rb line 435 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::Cookies::SerializedCookieJars

Type at least 2 characters to search.

↑↓ navigate · open · esc close