adhearsion/adhearsion-activerecord — pull request #3 by tylergannon (2014-05-10 15:07:44+00:00)
Title: Rails 4 (and activerecord 4) does not have verify_active_connections!

There's a description of the activerecord change in socialcast/resque-ensure-connected#3

This appears to fix it. Sadly, I don't know enough about ActiveRecord to sit here and tell you that this code is equivalent... I am just doing something that somebody else suggested.