aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-04-26 14:28:40 -0700
committerZachary Scott <e@zzak.io>2015-04-26 14:28:40 -0700
commit3427e66d661b107882bb948a3cda04838dda16c6 (patch)
treeb41e87c53585222bb5fa05051fb73a5c120cd04b
parent505fa60be207c60ecd856a00a08b48e4159c18d4 (diff)
parent4349192fa5ba19785b12efed0026656f915c5675 (diff)
downloadrails-3427e66d661b107882bb948a3cda04838dda16c6.tar.gz
rails-3427e66d661b107882bb948a3cda04838dda16c6.tar.bz2
rails-3427e66d661b107882bb948a3cda04838dda16c6.zip
Merge pull request #19911 from khundawg/dm-active-support-rescuable-rails-doc
[ci skip] Update ActiveSupport::Rails and ActiveSupport::Rescuable docs
-rw-r--r--activesupport/lib/active_support/rails.rb4
-rw-r--r--activesupport/lib/active_support/rescuable.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/rails.rb b/activesupport/lib/active_support/rails.rb
index b05c3ff126..c8e3a4bf53 100644
--- a/activesupport/lib/active_support/rails.rb
+++ b/activesupport/lib/active_support/rails.rb
@@ -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
diff --git a/activesupport/lib/active_support/rescuable.rb b/activesupport/lib/active_support/rescuable.rb
index 67aac32742..fcf5553061 100644
--- a/activesupport/lib/active_support/rescuable.rb
+++ b/activesupport/lib/active_support/rescuable.rb
@@ -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