Skip to content

Commit

Permalink
Add comment about no support of validate_uniqueness_of(:item).scoped_…
Browse files Browse the repository at this point in the history
…to(array)

Closes #814
  • Loading branch information
gmmcal authored and mcmire committed Sep 15, 2020
1 parent 4868da7 commit 256d3b5
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -157,6 +157,12 @@ module ActiveRecord
# should validate_uniqueness_of(:slug).scoped_to(:journal_id)
# end
#
# NOTE: Support for testing uniqueness validation scoped to an array of
# associations is not available.
#
# For more information, please refer to
# https://github.com/thoughtbot/shoulda-matchers/issues/814
#
# ##### case_insensitive
#
# Use `case_insensitive` to test usage of the `:case_sensitive` option
Expand Down

0 comments on commit 256d3b5

Please sign in to comment.