A Rails database query counter that stays out of your way
01-Oct-2020 1432
Query Diet counts the number of database queries for the last request and subtly displays it in the upper right corner of your screen. The display turns red if too many queries are run, or if they take too long. This is useful to prevent N 1 queries from creeping into your code.This is Query Diet being happy about 3 requests taking 66ms:.
A Rails database query counter that stays out of your way #ruby #rubydeveloper #rubyonrails #Rails #database #query #counter #stays #database https://rubyonrails.ba/link/a-rails-database-query-counter-that-stays-out-of-your-way