Skip to content
Browse files

fix typo

  • Loading branch information...
1 parent 5debc65 commit de829f871becc87424d75a5050883a02435c01e4 @raybaxter raybaxter committed Nov 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/autosave_association.rb
View
2 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 de829f8

Please sign in to comment.
Something went wrong with that request. Please try again.