diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-09 11:14:54 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-09 11:14:54 -0800 |
commit | 6110b0c54dde6251f7501e6421a7002a99779537 (patch) | |
tree | ded0cd5b6dfe18c665db62b2bf7d6150e31c95a4 | |
parent | 3cbf5d9794cc49783fcbcb160cdd908981ee8f84 (diff) | |
download | rails-6110b0c54dde6251f7501e6421a7002a99779537.tar.gz rails-6110b0c54dde6251f7501e6421a7002a99779537.tar.bz2 rails-6110b0c54dde6251f7501e6421a7002a99779537.zip |
fixing documentation, thanks Ivan Evtuhovich
-rw-r--r-- | activerecord/lib/active_record/transactions.rb | 3 |
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 |