rails/rails — pull request #10375 by vanstee (2013-04-29 17:46:13+00:00)
Title: Parameter wrapping doesn't support aliased attributes

When wrapping parameters, only the `attribute_names` were sliced out. I was hoping we could also support wrapping aliased attribute names as well. To support them, I just included `attribute_aliases.keys` in the list of keys to wrap for the model.