Any chance of a Rails3 port? #1

tatyree opened this Issue Jul 22, 2010 · 10 comments


None yet
8 participants

tatyree commented Jul 22, 2010

Right now, if you try to use query reviewer with Rails3, you get the following error:

uninitialized constant ActiveRecord::ConnectionAdapters::MysqlAdapter

I'm getting:

undefined method 'perform_action' for class ActionController::Base (NameError)


ariera commented Oct 25, 2010

I'd love to see a port of this useful plugin : )

In the meantime, does anybody knows of a plugin that helps counting the number of sql queries performed? That was useful!


emoreth commented Nov 29, 2010

Ariera, you can try:

grep "select|update|delete" --count development.log

Grep is very usefull in these cases

ariera commented Nov 29, 2010

nice! Tanks for the advice emoreth!

emoreth commented Nov 29, 2010

Be aware only that this will match "updated_at" columns and stuff like that.

For my logs i need to run grep "SELECT |UPDATE |DELETE " --count development.log

Using it without --count will help seeing if they are matching what you need.

ehudros commented Dec 15, 2010

Here's a version that's at least semi working with rails 3:


nesquena commented Apr 7, 2011

This was fixed in my fork (now merged with mainline)

ehudros commented Apr 7, 2011

awesome, thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment