thoughtbot/shoulda-matchers — pull request #503 by mcmire (2014-04-20 02:52:54+00:00)
Title: Fix several issues with strong parameters matcher

* Instead of decorating controller params, use our "Doublespeak"
mini-library to stub ActionController::Parameters. This prevents from
interfering with the params object if it is used in various ways, i.e.
if `params.fetch(...).permit(...)` is used instead of
`params.require(...).permit(...)`.
* Fix compat with Rails 4.1, where the verb for #update is PATCH not
PUT
* Track multiple calls to #permit within a given controller action
* Fix so that if the route for your action requires params (such as
:id) then you can specify those params