mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
note fix
This commit is contained in:
parent
de13425b44
commit
c008a45e8d
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ if defined?(::ActionDispatch::Request::Session) &&
|
||||||
!::ActionDispatch::Request::Session.respond_to?(:each)
|
!::ActionDispatch::Request::Session.respond_to?(:each)
|
||||||
# mperham/sidekiq#2460
|
# mperham/sidekiq#2460
|
||||||
# Rack apps can't reuse the Rails session store without
|
# Rack apps can't reuse the Rails session store without
|
||||||
# this monkeypatch
|
# this monkeypatch, fixed in Rails 5.
|
||||||
class ActionDispatch::Request::Session
|
class ActionDispatch::Request::Session
|
||||||
def each(&block)
|
def each(&block)
|
||||||
hash = self.to_hash
|
hash = self.to_hash
|
||||||
|
|
Loading…
Add table
Reference in a new issue