Class: ActionDispatch::Request::Session

Inherits:
Object
  • Object
show all
Defined in:
lib/autochthon/web.rb

Overview

mperham/sidekiq#2460 Rack apps can’t reuse the Rails session store without this monkeypatch

Instance Method Summary collapse

Instance Method Details

#each(&block) ⇒ Object



50
51
52
53
# File 'lib/autochthon/web.rb', line 50

def each(&block)
  hash = self.to_hash
  hash.each(&block)
end