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:
Written by Arkadiusz Buras
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#