1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

Update on validates_uniqueness_of documentation example

[ci skip]
This commit is contained in:
Gustavo Cunha 2015-10-22 15:31:18 +01:00 committed by Elliot Winkler
parent 6a349b6e62
commit b28b0e13c7

View file

@ -133,7 +133,7 @@ module Shoulda
# unique, but the scoped attributes are not unique either.
#
# class Post < ActiveRecord::Base
# validates_uniqueness_of :slug, scope: :user_id
# validates_uniqueness_of :slug, scope: :journal_id
# end
#
# # RSpec