Permalink
Browse files

fix typo

  • Loading branch information...
1 parent 30b3a14 commit 9332d2ee218a881e2c801c0857f6a0c4e0a28641 @raybaxter raybaxter committed with fxn Nov 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/autosave_association.rb
@@ -89,7 +89,7 @@ module ActiveRecord
# post = Post.create(:title => 'ruby rocks')
# post.comments.create(:body => 'hello world')
# post.comments[0].body = 'hi everyone'
- # post.save # => saves both post and comment, with 'hi everyone' as title
+ # post.save # => saves both post and comment, with 'hi everyone' as body
#
# Destroying one of the associated models as part of the parent's save action
# is as simple as marking it for destruction:

0 comments on commit 9332d2e

Please sign in to comment.