Releases: thoughtbot/shoulda-matchers
Releases · thoughtbot/shoulda-matchers
v4.0.0.rc1
Adds support for Ruby 2.4 and 2.5 and Rails 5.x.
Drops support for Ruby 2.0 and 2.1 as well as Rails 4.0 and 4.1.
v3.1.2
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.