mongoid/mongoid — Issue #1769: How to get the db_rumtime value in ActiveSupport notification?
Author: millisami
Created: 2012-02-28 06:20:27+00:00
State: open

As follow up to implement the profiling as 37signals post http://37signals.com/svn/posts/3091-pssst-your-rails-application-has-a-secret-to-tell-you, the `db_runtime` value is always `nil`

But in ActiveRecord, it works as its supposed to.

So, how to get the `db_rumtime` value in the notification via the `payload` ?