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