This gem automatically logs SQL EXPLAIN of every queries
MIT License
This gem automatically logs SQL EXPLAIN
of every queries.
You can check naturally every SQL EXPLAIN
from development log, without ✋ executions.
If you use Rails, it's no configuration, and you can logs SQL EXPLAIN of every queries.
Add this line to your application's Gemfile:
gem 'activerecord-explainer', group: :development
And then execute:
$ bundle
Or install it yourself as:
$ gem install activerecord-explainer
sql.active_record
event provided by the Active Support instrumentation API.ActiveRecord::Base
.Please check the implementation, if you interested in.