Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make transaction documentation example more realistic

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 96fa4a2f52c55e97eb638cc35a9fe35c3efc062e 1 parent 4f59aac
Marcel Molina authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/transactions.rb
View
4 activerecord/lib/active_record/transactions.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.