mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
holy bananas, fix incorrect monkey logic
This commit is contained in:
parent
315504e766
commit
59b6bd2ee8
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ module Sidekiq
|
|||
end
|
||||
|
||||
if defined?(::ActionDispatch::Request::Session) &&
|
||||
!::ActionDispatch::Request::Session.respond_to?(:each)
|
||||
!::ActionDispatch::Request::Session.method_defined?(:each)
|
||||
# mperham/sidekiq#2460
|
||||
# Rack apps can't reuse the Rails session store without
|
||||
# this monkeypatch, fixed in Rails 5.
|
||||
|
|
Loading…
Add table
Reference in a new issue