aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/lib
diff options
context:
space:
mode:
authorCody Fauser <cody@jadedpixel.com>2008-08-15 09:31:01 -0400
committerCody Fauser <cody@jadedpixel.com>2008-08-15 09:31:01 -0400
commit061923371cc8f24b93aedb7842938a69fea6ac19 (patch)
treee59ed6c5e158d7f38ce3c39b0d060df1253c68a5 /activeresource/lib
parent47e79cbf776c045012ecf2e2723fb640205c852c (diff)
downloadrails-061923371cc8f24b93aedb7842938a69fea6ac19.tar.gz
rails-061923371cc8f24b93aedb7842938a69fea6ac19.tar.bz2
rails-061923371cc8f24b93aedb7842938a69fea6ac19.zip
Fix tiny typo in example
Diffstat (limited to 'activeresource/lib')
-rw-r--r--activeresource/lib/active_resource/validations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/lib/active_resource/validations.rb b/activeresource/lib/active_resource/validations.rb
index 5019db4f38..4bc906d291 100644
--- a/activeresource/lib/active_resource/validations.rb
+++ b/activeresource/lib/active_resource/validations.rb
@@ -231,7 +231,7 @@ module ActiveResource
# person.valid? # => false
# person.errors.empty? # => false
# person.errors.count # => 1
- # person.errors.full_messages # => "Last name can't be empty"
+ # person.errors.full_messages # => ["Last name can't be empty"]
# person.errors.on(:last_name) # => "can't be empty"
# person.last_name = "Halpert"
# person.save # => true (and person is now saved to the remote service)