Fix connection method call deprecation warning introduced in ActiveRecord 4.0

Fixes https://github.com/diogob/carrierwave-postgresql/issues/8