aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/transactions.rb
diff options
context:
space:
mode:
authorArthur Nogueira Neves <arthurnn@gmail.com>2014-12-19 18:21:43 -0500
committerArthur Neves <arthurnn@gmail.com>2014-12-19 18:22:46 -0500
commite4f015e4e88ff43e8663031db0f37c712339515c (patch)
tree19cd6ef523de75a357e736aee0a0f5d0478862b5 /activerecord/lib/active_record/transactions.rb
parent2d04bdd86fb4a9c69e1ca1ffe92188a9ca4f88c8 (diff)
downloadrails-e4f015e4e88ff43e8663031db0f37c712339515c.tar.gz
rails-e4f015e4e88ff43e8663031db0f37c712339515c.tar.bz2
rails-e4f015e4e88ff43e8663031db0f37c712339515c.zip
Merge pull request #18102 from arthurnn/nodoc_constant
Add nodoc to some constants [skip ci]
Diffstat (limited to 'activerecord/lib/active_record/transactions.rb')
-rw-r--r--activerecord/lib/active_record/transactions.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/transactions.rb b/activerecord/lib/active_record/transactions.rb
index 01e8f69b02..c4a97db582 100644
--- a/activerecord/lib/active_record/transactions.rb
+++ b/activerecord/lib/active_record/transactions.rb
@@ -2,7 +2,9 @@ module ActiveRecord
# See ActiveRecord::Transactions::ClassMethods for documentation.
module Transactions
extend ActiveSupport::Concern
+ #:nodoc:
ACTIONS = [:create, :destroy, :update]
+ #:nodoc:
CALLBACK_WARN_MESSAGE = "Currently, Active Record suppresses errors raised " \
"within `after_rollback`/`after_commit` callbacks and only print them to " \
"the logs. In the next version, these errors will no longer be suppressed. " \