aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-12-09 11:14:54 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-09 11:14:54 -0800
commit6110b0c54dde6251f7501e6421a7002a99779537 (patch)
treeded0cd5b6dfe18c665db62b2bf7d6150e31c95a4 /activerecord/lib/active_record
parent3cbf5d9794cc49783fcbcb160cdd908981ee8f84 (diff)
downloadrails-6110b0c54dde6251f7501e6421a7002a99779537.tar.gz
rails-6110b0c54dde6251f7501e6421a7002a99779537.tar.bz2
rails-6110b0c54dde6251f7501e6421a7002a99779537.zip
fixing documentation, thanks Ivan Evtuhovich
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/transactions.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/transactions.rb b/activerecord/lib/active_record/transactions.rb
index 654c475aed..f8c6c7b53e 100644
--- a/activerecord/lib/active_record/transactions.rb
+++ b/activerecord/lib/active_record/transactions.rb
@@ -141,7 +141,8 @@ module ActiveRecord
# end
# end
#
- # User.find(:all) # => empty
+ # User.find(:all) # => Returns Kotori and Nemu, because
+ # AcriveRecord::Rollback do not re-raise
#
# It is also possible to requires a sub-transaction by passing
# <tt>:requires_new => true</tt>. If anything goes wrong, the