The project is in a healthy, maintained state
Gem adds an "analyze" method to all Active Record query objects. Compatible with PostgreSQL database.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Project Readme

ActiveRecord Analyze

This gem adds an analyze method to Active Record query objects. It executes EXPLAIN ANALYZE on a query SQL.

Installation

In your Gemfile:

gem 'activerecord-analyze'

Disclaimer

It is a bit experimental and can break with new Rails release. As soon as this pull request is merged it will be obsolete.