Revert "Remove meaningless code from the examples" of AutosaveAssociation

Reverts a part of 91148936f7. Should probably be squashed with it when merging back in rails/rails.
This commit is contained in:
Dimitar Dimitrov 2012-02-22 22:25:44 +02:00
parent 91148936f7
commit 7ee7f14e11
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ module ActiveRecord
# automatically _and_ atomically:
#
# post = Post.find(1)
# post.title # => "The current global position of migrating ducks"
# post.author.name # => "alloy"
#
# post.title = "On the migration of ducks"
# post.author.name = "Eloy Duran"
#