提交 a3536b47 编写于 作者: R Ryuta Kamizono 提交者: GitHub

Merge pull request #30989 from joevandyk/patch-3

remove incorrect comment about serializable transactions [ci skip]
......@@ -205,9 +205,7 @@ module ClassMethods
# | # Boom! We now have a duplicate
# | # title!
#
# This could even happen if you use transactions with the 'serializable'
# isolation level. The best way to work around this problem is to add a unique
# index to the database table using
# The best way to work around this problem is to add a unique index to the database table using
# {connection.add_index}[rdoc-ref:ConnectionAdapters::SchemaStatements#add_index].
# In the rare case that a race condition occurs, the database will guarantee
# the field's uniqueness.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册