# https://stackoverflow.com/questions/2196828/how-can-i-disable-logging-in-ruby-on-rails-on-a-per-action-basis
def action
Rails.logger.silence do
# Things within this block will not be logged...
end
end
You need to Sign in before reply, if you don't have an account, please Sign up first.