Skip to content

Commit

Permalink
Merge pull request #18102 from arthurnn/nodoc_constant
Browse files Browse the repository at this point in the history
Add nodoc to some constants [skip ci]
  • Loading branch information
arthurnn committed Dec 19, 2014
1 parent 83f56be commit 53eb7e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Expand Up @@ -209,6 +209,7 @@ def handle_unverified_request
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 " \
Expand Down
2 changes: 2 additions & 0 deletions activerecord/lib/active_record/transactions.rb
Expand Up @@ -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. " \
Expand Down

0 comments on commit 53eb7e3

Please sign in to comment.