rails/rails — pull request #16439 by voxxit (2014-08-09 05:18:40+00:00)
Title: Using delegated connection method

The connection method is already delegated, so it should use that instead. Using ActiveRecord::Base here breaks abstract models which may have different database connections, causing things like `ActiveRecord::NoDatabaseError`