mperham/sidekiq — pull request #1666 by Empact (2014-04-22 11:29:25+00:00)
Title: Only call ActiveRecord::Base.clear_active_connections! if possible.

In some cases, ActiveRecord can be defined, even if ActiveRecord::Base is not.

We have one such wonky case.