Skip to content

Commit

Permalink
Make transaction documentation example more realistic
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
Marcel Molina committed Nov 6, 2007
1 parent 4f59aac commit 96fa4a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/lib/active_record/transactions.rb
Expand Up @@ -50,8 +50,8 @@ def self.included(base)
# though <tt>transaction</tt> is called on the <tt>Account</tt> class:
#
# Account.transaction do
# balance.save
# account.save
# balance.save!
# account.save!
# end
#
# == Transactions are not distributed across database connections
Expand Down

0 comments on commit 96fa4a2

Please sign in to comment.