Displaying 1 result from an estimated 1 matches for "reset_runtime".
2011 Apr 25
3
Active Record database time logging
...de + experiments suggests that any database time
after the render is not counted.
It seems to me that in controller_runtime.rb in Active Record,
append_info_to_payload should in fact read
def append_info_to_payload(payload)
super
payload[:db_runtime] = db_runtime +
ActiveRecord::LogSubscriber.reset_runtime
end
Is this just an oversight?
Fred
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-core+unsubscr...