Class: ActionDispatch::Request::Session

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

Overview

mperham/sidekiq#2460 Rack apps can't reuse the Rails session store without this monkeypatch, fixed in Rails 5.

Instance Method Summary collapse

Instance Method Details

#each(&block) ⇒ Object


208
209
210
211
# File 'lib/sidekiq/web.rb', line 208

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