lib/couchrest/model/validations.rb in couchrest_model-2.0.4 vs lib/couchrest/model/validations.rb in couchrest_model-2.1.0.beta1
- old
+ new
@@ -53,10 +53,10 @@
# end
#
# Asside from the standard options, you can specify the name of the view you'd like
# to use for the search inside the +:view+ option. The following example would search
# for the code in side the +all+ view, useful for when +unique_id+ is used and you'd
- # like to check before receiving a RestClient Conflict error:
+ # like to check before receiving a CouchRest::Conflict error:
#
# validates_uniqueness_of :code, :view => 'all'
#
# A +:proxy+ parameter is also accepted if you would
# like to call a method on the document on which the view should be performed.