rails/rails — pull request #7243 by sikachu (2012-08-03 00:16:04+00:00)
Title: Add Object#peek as helper method to inspect object

This method is very helpful when inspecting and debug the code. So, instead of you having to do this:

@user.tap{ |u| puts u.inspect }.activate!

Now you can do:

@user.peek.activate!