提交 6110b0c5 编写于 作者: A Aaron Patterson

fixing documentation, thanks Ivan Evtuhovich

上级 3cbf5d97
......@@ -141,7 +141,8 @@ class TransactionError < ActiveRecordError # :nodoc:
# 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册