newrelic/rpm — pull request #70 by rykov (2012-08-10 23:22:00+00:00)
Title: Alias_method chain in DataMapper instrumentation breaks further logging extensions

The current alias_method chain defines a **#log** method on the Connection class, and renames the previous inheritance chain to **#log_without_newrelic_instrumenation**. This causes any other subsequently included modules that correctly override **#log** to be ignored. One such module is **dm-rails** that instruments the DataMapper::Connection with SQL logging.