1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
This commit is contained in:
Mike Perham 2016-09-06 11:15:52 -07:00
parent de13425b44
commit c008a45e8d

View file

@ -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