class Rack::Protection::EncryptedCookie

def persistent_session_id!(data, sid = nil)

def persistent_session_id!(data, sid = nil)
  data ||= {}
  data['session_id'] ||= sid || generate_sid
  data
end