rails / 4.1.16 / actiondispatch / cookies / nullserializer.html /

class ActionDispatch::Cookies::NullSerializer

Parent:
Object

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) Show source
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 406
def self.dump(value)
  value
end
load (value) Show source
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 402
def self.load(value)
  value
end

© 2004–2016 David Heinemeier Hansson
Licensed under the MIT License.