From ed507300f05fa5e86f7f7d8988f2d25a91b37b8b Mon Sep 17 00:00:00 2001 From: Evgeniy Dolzhenko Date: Fri, 11 Jun 2010 14:20:30 +0400 Subject: Fix minor mistake in activemodel/README --- activemodel/README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activemodel/README') diff --git a/activemodel/README b/activemodel/README index 3945a6da06..6f162ef408 100644 --- a/activemodel/README +++ b/activemodel/README @@ -177,7 +177,8 @@ functionality from the following modules: end - person = Person.new(:first_name => 'zoolander') + person = Person.new + person.first_name = 'zoolander' person.valid? #=> false {Learn more}[link:classes/ActiveModel/Validations.html] -- cgit v1.2.3