Socket
Book a DemoInstallSign in
Socket

sql_queries_count

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sql_queries_count

bundlerRubygems
Version
0.0.1
Version published
Maintainers
1
Created
Source

= 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)

FAQs

Package last updated on 02 Apr 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts