Skip to content

Commit

Permalink
Add query_count gem in development
Browse files Browse the repository at this point in the history
A very simple gem that counts the total number of queries triggered by each request and displays a little number in the log. Nice.
  • Loading branch information
Matt-Yorkley committed Apr 28, 2023
1 parent 8d9a8d8 commit 7034337
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ group :development do
gem 'spring'
gem 'spring-commands-rspec'
gem 'web-console'
gem 'query_count'

gem 'rack-mini-profiler', '< 3.0.0'
end
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,9 @@ GEM
public_suffix (5.0.1)
puma (6.2.2)
nio4r (~> 2.0)
query_count (1.1.1)
activerecord (>= 4.2)
railties (>= 4.2)
raabro (1.4.0)
racc (1.6.2)
rack (2.2.7)
Expand Down Expand Up @@ -857,6 +860,7 @@ DEPENDENCIES
private_address_check
pry (~> 0.13.0)
puma
query_count
rack-mini-profiler (< 3.0.0)
rack-rewrite
rack-timeout
Expand Down

0 comments on commit 7034337

Please sign in to comment.