[RUBY] ActiveRecord prints the SQL query that is actually issued to standard output

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

Recommended Posts

ActiveRecord prints the SQL query that is actually issued to standard output
[Java] Color the standard output to the terminal
Addicted to the webpacker that comes standard with Rails 6
Shortcut keys that complement standard output processing in the IDE
About the solution to the problem that the log of logback is not output when the web application is stopped
The story that standard output also fatally changes the behavior of the program
How to output the value when there is an array in the array
Use JUL to record the SQL execution log issued by MyBatis
How to identify the path that is easy to make a mistake