Skip to content

Commit

Permalink
Revert "Remove meaningless code from the examples" of AutosaveAssocia…
Browse files Browse the repository at this point in the history
…tion


Reverts a part of 9114893. Should probably be squashed with it when merging back in rails/rails.
  • Loading branch information
mitio committed Feb 22, 2012
1 parent 9114893 commit 7ee7f14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions activerecord/lib/active_record/autosave_association.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
#
Expand Down

0 comments on commit 7ee7f14

Please sign in to comment.