shoulda-matchers v2.3.0 Release Notes
Release Date: 2013-08-16 // almost 11 years ago-
Fix a bug in
ensure_inclusion_of
that would cause issues with usingin_array
with an integer value.Add support for PostgreSQL UUID columns to
validates_uniqueness_of
(#334).Fix
validates_numericality_of
so thatis_equal_to
submatcher works correctly (#326).๐ Fix context support for validation matchers and disallowed values (#313).
Add a
counter_cache
submatcher forbelongs_to
associations (#311).โ Add a
rescue_from
matcher for Rails controllers which checks that the correct ActiveSupport call has been made and that the handlers exist without actually throwing an exception (#287).๐ Changed the scope of AssociationMatcher methods from protected to private.
Extracted
#order
,#through
, and#dependent
from AssociationMatcher as their own submatchers.