Class: ActionDispatch::Request::Session

Inherits:
Object
  • Object
show all
Defined in:
lib/sidekiq/cleaner.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



209
210
211
212
# File 'lib/sidekiq/cleaner.rb', line 209

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