diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-03-25 22:43:26 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-03-25 22:43:26 +0900 |
commit | ea5daeb2e407d004cf134d47fe8ac28d24fb0a00 (patch) | |
tree | 053fb62fc7a203b5cd1cb4c932a2777b163461bf | |
parent | e21f6c1daccbb5838b1e03e6acdcbc86bbadd7f8 (diff) | |
download | rails-ea5daeb2e407d004cf134d47fe8ac28d24fb0a00.tar.gz rails-ea5daeb2e407d004cf134d47fe8ac28d24fb0a00.tar.bz2 rails-ea5daeb2e407d004cf134d47fe8ac28d24fb0a00.zip |
Fix some typos
-rw-r--r-- | activesupport/lib/active_support/notifications/instrumenter.rb | 2 | ||||
-rw-r--r-- | guides/source/active_support_instrumentation.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/notifications/instrumenter.rb b/activesupport/lib/active_support/notifications/instrumenter.rb index 1ee7ca06bb..4f1cb85cc2 100644 --- a/activesupport/lib/active_support/notifications/instrumenter.rb +++ b/activesupport/lib/active_support/notifications/instrumenter.rb @@ -2,7 +2,7 @@ require 'securerandom' module ActiveSupport module Notifications - # Instrumentors are stored in a thread local. + # Instrumenters are stored in a thread local. class Instrumenter attr_reader :id diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md index 0f33c58011..38dbfd3152 100644 --- a/guides/source/active_support_instrumentation.md +++ b/guides/source/active_support_instrumentation.md @@ -442,7 +442,7 @@ ActiveSupport::Notifications.subscribe "process_action.action_controller" do |*a end ``` -Most times you only care about the data itself. Here is a shortuct to just get the data. +Most times you only care about the data itself. Here is a shortcut to just get the data. ```ruby ActiveSupport::Notifications.subscribe "process_action.action_controller" do |*args| |