Collect 'ActiveRecord sql query' to monitoring system(s).
Currently supports Rails 3.1.0 and upper.
Tested minor version between 3.1.0 and 5.1.0beta1
Add this line to your application's Gemfile:
gem 'sqlogger', group: :development
And then execute in Rails Project root directory:
$ bundle
$ rake sqlogger:install
edit sqlogger setting file in config/initializers/sqlogger.rb.
git-flow.