Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add comment about no support of validate_uniqueness_of(:item).scoped_to(array) #1355

Merged
merged 1 commit into from Sep 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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