rails/rails — pull request #16633 by tgxworld (2014-08-22 09:55:15+00:00)
Title: Pass logging message through block.

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