…ethods for the non Raw Cookie classes
This allows easy upgrading from the old signed Cookie Store <= 3.2 or the deprecated one in 4.0 (the ones that doesn't use key derivation) to the new one that signs using key derivation
Developers must set config.secret_key_base in config/initializers/secret_token.rb
How to use it? cookies.encrypted[:discount] = 45 => Set-Cookie: discount=ZS9ZZ1R4cG1pcUJ1bm80anhQang3dz09LS1mbDZDSU5scGdOT3ltQ2dTdlhSdWpRPT0%3D--ab54663c9f4e3bc340c790d6d2b71e92f5b60315; path=/ cookies.encrypted[:discount] => 45
This file uses mattr_accessor.
Improve signed cookies documentation
Stream cookies only if needed
Remove a couple of unused ivars left from previous refactoring
These ivars were missed in d142572 when close checks were removed
Necessary in controller tests to determine if the CookieJar will delete the given cookie.