mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] Update ActiveSupport::Rails and ActiveSupport::Rescuable docs
[Dave Moore]
This commit is contained in:
parent
64114b66d2
commit
4349192fa5
2 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
# This is private interface.
|
||||
#
|
||||
# Rails components cherry pick from Active Support as needed, but there are a
|
||||
# few features that are used for sure some way or another and it is not worth
|
||||
# to put individual requires absolutely everywhere. Think blank? for example.
|
||||
# few features that are used for sure in some way or another and it is not worth
|
||||
# putting individual requires absolutely everywhere. Think blank? for example.
|
||||
#
|
||||
# This file is loaded by every Rails component except Active Support itself,
|
||||
# but it does not belong to the Rails public interface. It is internal to
|
||||
|
|
|
@ -68,7 +68,7 @@ module ActiveSupport
|
|||
raise ArgumentError, "#{klass} is neither an Exception nor a String"
|
||||
end
|
||||
|
||||
# put the new handler at the end because the list is read in reverse
|
||||
# Put the new handler at the end because the list is read in reverse.
|
||||
self.rescue_handlers += [[key, options[:with]]]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue