rails/rails — pull request #12609 by corwinkelly (2013-10-22 20:15:26+00:00)
Title: Update workaround for "Outside the Scope of Strong Parameters"

The previous example of how to permit a hash of unknown keys used .tap, but had the side effect of logging an "Unpermitted parameters" message despite being a successful workaround. The proposed workaround is ever so slightly better, imo, because it won't result in an "Unpermitted parameters" message being logged.

Additionally, and maybe this is just me, but as fun as it was to look up what the heck .tap is, the use of it seems inelegant to me.