Properly handle ActiveRecord::Base.connected?
Merge pull request #218 from maximeg/connected

Properly handle ActiveRecord::Base.connected?