README.md in nested_validator-1.0.2 vs README.md in nested_validator-1.0.3
- old
+ new
@@ -151,10 +151,10 @@
``` ruby
class ParentMultiple < ParentBase
attr_accessor :child2
- validates_nested :child, :child2, only: :attribute1
+ validate_nested :child, :child2, only: :attribute1
def initialize
self.child = Child.new
self.child2 = Child.new
end