Skip to content

Commit

Permalink
Fix tiny typo in example
Browse files Browse the repository at this point in the history
  • Loading branch information
Cody Fauser committed Aug 15, 2008
1 parent 47e79cb commit 0619233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activeresource/lib/active_resource/validations.rb
Expand Up @@ -231,7 +231,7 @@ def from_xml(xml)
# 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)
Expand Down

0 comments on commit 0619233

Please sign in to comment.