Last Updated: February 25, 2016
·
1.425K
· macbury

Moped/Mongoid 3 Instrumentation for Rails 3

In rails you have a lot great information in logs: db query time, view render time etc. But if you use mongoid 3+ you can see only query time for each requests but not for all db requests that been made in action. That is why i made this simple gist: