diff options
author | Evgeniy Dolzhenko <dolzenko@gmail.com> | 2010-06-11 14:20:30 +0400 |
---|---|---|
committer | Evgeniy Dolzhenko <dolzenko@gmail.com> | 2010-06-11 14:20:30 +0400 |
commit | ed507300f05fa5e86f7f7d8988f2d25a91b37b8b (patch) | |
tree | 848bd21e7f0360e131bd882380196ea364c43937 /activemodel/README | |
parent | ccf9577aee86ce1f766c5e8854e0c285dc38f8ac (diff) | |
download | rails-ed507300f05fa5e86f7f7d8988f2d25a91b37b8b.tar.gz rails-ed507300f05fa5e86f7f7d8988f2d25a91b37b8b.tar.bz2 rails-ed507300f05fa5e86f7f7d8988f2d25a91b37b8b.zip |
Fix minor mistake in activemodel/README
Diffstat (limited to 'activemodel/README')
-rw-r--r-- | activemodel/README | 3 |
1 files changed, 2 insertions, 1 deletions
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] |