-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any chance of a Rails3 port? #1
Comments
I'm getting:
controller_extensions.rb:10 |
+1 In the meantime, does anybody knows of a plugin that helps counting the number of sql queries performed? That was useful! Thanks! |
Ariera, you can try: grep "select|update|delete" --count development.log Grep is very usefull in these cases |
nice! Tanks for the advice emoreth! |
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. |
Here's a version that's at least semi working with rails 3: |
This was fixed in my fork (now merged with mainline) |
awesome, thanks :) |
Rails 3 support: https://github.com/nesquena/query_reviewer |
Right now, if you try to use query reviewer with Rails3, you get the following error:
uninitialized constant ActiveRecord::ConnectionAdapters::MysqlAdapter
The text was updated successfully, but these errors were encountered: