aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/README.rdoc
diff options
context:
space:
mode:
authorAlexey Vakhov <vakhov@gmail.com>2012-05-04 12:32:35 +0400
committerAlexey Vakhov <vakhov@gmail.com>2012-05-04 12:32:35 +0400
commit616de66c55b58479e7da4271a0c990529395440e (patch)
tree63bd873e371c47cd05ea044e62ffcdd6a0a2b5c5 /activemodel/README.rdoc
parentc058a773b89b1bf4103f9bd4910743f60f238792 (diff)
downloadrails-616de66c55b58479e7da4271a0c990529395440e.tar.gz
rails-616de66c55b58479e7da4271a0c990529395440e.tar.bz2
rails-616de66c55b58479e7da4271a0c990529395440e.zip
Fix ActiveModel README example
Diffstat (limited to 'activemodel/README.rdoc')
-rw-r--r--activemodel/README.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/README.rdoc b/activemodel/README.rdoc
index 9b05384792..1fd75141f8 100644
--- a/activemodel/README.rdoc
+++ b/activemodel/README.rdoc
@@ -25,7 +25,7 @@ to integrate with Action Pack out of the box: <tt>ActiveModel::Model</tt>.
person = Person.new(:name => 'bob', :age => '18')
person.name # => 'bob'
- person.age # => 18
+ person.age # => '18'
person.valid? # => true
It includes model name introspections, conversions, translations and