Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/comboy/sql_queries_count
Adds number of SQL queries done to your rails log.
https://github.com/comboy/sql_queries_count
Last synced: about 2 months ago
JSON representation
Adds number of SQL queries done to your rails log.
- Host: GitHub
- URL: https://github.com/comboy/sql_queries_count
- Owner: comboy
- License: mit
- Created: 2012-04-02T16:08:22.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-04-02T16:15:39.000Z (almost 13 years ago)
- Last Synced: 2023-04-11T21:46:12.535Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 113 KB
- Stars: 39
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
- License: MIT-LICENSE
Awesome Lists containing this project
README
= SqlQueriesCount
== About
It's a rails plugin that adds number of SQL queries that were done during processing request to your log. So instead of:
Completed 200 OK in 249ms (Views: 141.8ms | ActiveRecord: 9.6ms)
you will get:
Completed 200 OK in 249ms (Views: 141.8ms | ActiveRecord: 9.6ms | SQL count: 9)
Works with rails 3.0 and above.
== Installation
Add in your Gemfile:
gem 'sql_queries_count'
Consider including it in development group, if you want to keep your production logs intact.
== License
This project rocks and uses MIT-LICENSE.
== Author
Kacper Cieśla (comboy)