abstract image of ryan

Welcome to ryanwold.net


Quiet Rails database logging

When developing Rails apps (4.2.x), sometimes, I want to quiet the database logging output. This is how its done:

ActiveRecord::Base.logger.level = 1


Date
2015-12-07
Status
release

Tags
rails and logging
Series
N/A