class ActionDispatch::Cookies::NullSerializer

Passing the NullSerializer downstream to the Message{Encryptor,Verifier} allows us to handle the (de)serialization step within the cookie jar, which gives us the opportunity to detect and migrate legacy cookies.

Public Class Methods

dump(value) click to toggle source
# File lib/action_dispatch/middleware/cookies.rb, line 404
def self.dump(value)
  value
end
load(value) click to toggle source
# File lib/action_dispatch/middleware/cookies.rb, line 400
def self.load(value)
  value
end