URL details: malki.dev/debugging-sql-queries-in-rails-console/
URL title:
Debugging SQL queries in rails console – Loving to Code
URL paragraphs:
When pasting ActiveRecord::Base.logger = Logger.new(STDOUT) into the rails console, it will convert all active record queries into raw SQL. This is helpful to make sure active record queries are optimized (avoid n+1) or quickly grab an SQL statement for da
URL last crawled:
2022-12-23
URL speed:
0.158 MB/s,
downloaded in 0.200 seconds
We found no external links pointing to this url.