提交 a077e412 编写于 作者: X Xavier Noria

testing cron job in edge api generation

上级 6f3c5f67
...@@ -119,11 +119,11 @@ class ConfigurationError < ActiveRecordError ...@@ -119,11 +119,11 @@ class ConfigurationError < ActiveRecordError
class ReadOnlyRecord < ActiveRecordError class ReadOnlyRecord < ActiveRecordError
end end
# ActiveRecord::Transactions::ClassMethods.transaction uses this exception # +ActiveRecord::Transactions::ClassMethods.transaction+ uses this exception
# to distinguish a deliberate rollback from other exceptional situations. # to distinguish a deliberate rollback from other exceptional situations.
# Normally, raising an exception will cause the +transaction+ method to rollback # Normally, raising an exception will cause the +transaction+ method to rollback
# the database transaction *and* pass on the exception. But if you raise an # the database transaction *and* pass on the exception. But if you raise an
# ActiveRecord::Rollback exception, then the database transaction will be rolled back, # +ActiveRecord::Rollback+ exception, then the database transaction will be rolled back,
# without passing on the exception. # without passing on the exception.
# #
# For example, you could do this in your controller to rollback a transaction: # For example, you could do this in your controller to rollback a transaction:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册