Add table_print for debugging ActiveRecord queries in the console

This commit is contained in:
Harald Reingruber 2022-03-11 22:43:43 +01:00 committed by GitHub
parent 15e715c9f3
commit e8a28d7fee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -85,6 +85,8 @@ group :development do
# Get infos when not using proper eager loading # Get infos when not using proper eager loading
gem 'bullet' gem 'bullet'
# Display Active Record queries as tables in the console
gem 'table_print'
end end
group :development, :test do group :development, :test do

View file

@ -513,6 +513,7 @@ GEM
sqlite3 (1.3.13) sqlite3 (1.3.13)
sqlite3-ruby (1.3.3) sqlite3-ruby (1.3.3)
sqlite3 (>= 1.3.3) sqlite3 (>= 1.3.3)
table_print (1.5.7)
temple (0.8.2) temple (0.8.2)
therubyracer (0.12.3) therubyracer (0.12.3)
libv8 (~> 3.16.14.15) libv8 (~> 3.16.14.15)
@ -646,6 +647,7 @@ DEPENDENCIES
spreadsheet spreadsheet
sprockets (< 4) sprockets (< 4)
sqlite3 (~> 1.3.6) sqlite3 (~> 1.3.6)
table_print
therubyracer therubyracer
twitter-bootstrap-rails (~> 2.2.8) twitter-bootstrap-rails (~> 2.2.8)
uglifier (>= 1.0.3) uglifier (>= 1.0.3)