module ActionDispatch::Cookies::ChainedCookieJars
def upgrade_legacy_hmac_aes_cbc_cookies?
def upgrade_legacy_hmac_aes_cbc_cookies? request.secret_key_base.present? && request.encrypted_signed_cookie_salt.present? && request.encrypted_cookie_salt.present? && request.use_authenticated_cookie_encryption end