Take a look at the documentation here:
Performance Impact of Logs
Another potential error is that if you have a lot of calls to Logger like this in your code:
logger.debug "Person attributes hash: #{@person.attributes.inspect}"
, , . , Ruby , String , . , , (.. ).
- string block. , ( , ), Rails , .
source
share