Log ActiveRecord Queries to STDOUT

run the following in your console to log the raw sql queries generated:

ActiveRecord::Base.logger = Logger.new(STDOUT)

Last Updated: 04/09/2023

Published: 04/09/2023