lib/active_resource/validations.rb in activeresource-2.0.5 vs lib/active_resource/validations.rb in activeresource-2.1.0

- old
+ new

@@ -214,11 +214,11 @@ add_to_base message if attr_message.nil? end end end - # Module to allow validation of ActiveResource objects, which creates an Errors instance for every resource. - # Methods are implemented by overriding +Base#validate+ or its variants Each of these methods can inspect + # Module to allow validation of Active Resource objects, which creates an Errors instance for every resource. + # Methods are implemented by overriding Base#validate or its variants Each of these methods can inspect # the state of the object, which usually means ensuring that a number of attributes have a certain value # (such as not empty, within a given range, matching a certain regular expression and so on). # # ==== Example #