mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #18102 from arthurnn/nodoc_constant
Add nodoc to some constants [skip ci]
This commit is contained in:
parent
2d04bdd86f
commit
e4f015e4e8
2 changed files with 3 additions and 0 deletions
|
@ -209,6 +209,7 @@ module ActionController #:nodoc:
|
|||
forgery_protection_strategy.new(self).handle_unverified_request
|
||||
end
|
||||
|
||||
#:nodoc:
|
||||
CROSS_ORIGIN_JAVASCRIPT_WARNING = "Security warning: an embedded " \
|
||||
"<script> tag on another site requested protected JavaScript. " \
|
||||
"If you know what you're doing, go ahead and disable forgery " \
|
||||
|
|
|
@ -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. " \
|
||||
|
|
Loading…
Reference in a new issue