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
1 changed files with 1 additions and 1 deletions

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