shoulda-matchers v3.1.2 Release Notes

Release Date: 2017-07-12 // almost 7 years ago
  • ๐Ÿ—„ Deprecations

    • This is the last version that supports Rails 4.0 and 4.1 and Ruby 2.0 and 2.1.

    ๐Ÿ› Bug fixes

    • When the permit matcher was used without #on, the controller did not use params#require, the params object was duplicated, and the matcher did not recognize the #permit call inside the controller. This behavior happened because the matcher overwrote double registries with the same parameter hash whenever ActionController::Parameters was instantiated. (#899, #902, 44c019)