lib/sidekiq/middleware.rb in sidekiq-0.5.0 vs lib/sidekiq/middleware.rb in sidekiq-0.5.1

- old
+ new

@@ -81,9 +81,9 @@ end def call(*) yield ensure - ActiveRecord::Base.clear_active_connections! if defined?(::ActiveRecord) + ::ActiveRecord::Base.clear_active_connections! if defined?(::ActiveRecord) end end end