lib/active_resource/validations.rb in activeresource-3.2.0 vs lib/active_resource/validations.rb in activeresource-3.2.1

- old
+ new

@@ -39,10 +39,10 @@ end # Module to support validation and errors with Active Resource objects. The module overrides # Base#save to rescue ActiveResource::ResourceInvalid exceptions and parse the errors returned # in the web service response. The module also adds an +errors+ collection that mimics the interface - # of the errors provided by ActiveRecord::Errors. + # of the errors provided by ActiveModel::Errors. # # ==== Example # # Consider a Person resource on the server requiring both a +first_name+ and a +last_name+ with a # <tt>validates_presence_of :first_name, :last_name</tt> declaration in the model: