rails/rails — pull request #16099 by tgxworld (2014-07-09 02:09:56+00:00)
Title: Prefer to pass block when logging.

This follows the good practice listed on http://guides.rubyonrails.org/debugging_rails_applications.html#impact-of-logs-on-performance.