mirror of https://github.com/rails/rails
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:
parent
91148936f7
commit
7ee7f14e11
|
@ -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"
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue