v2.1.6: prevent DEPRECATION WARNING of connection on Rails 4.0