rails/rails — pull request #11651 by neerajdotname (2013-07-29 04:11:46+00:00)
Title: interceptor should mimick original method

This fix also makes the test order independent.

Here is the link to original log method https://github.com/rails/rails/blob/master/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#L416-L429 .