aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorMark Rushakoff <mark.rushakoff@gmail.com>2012-05-27 08:25:00 -0700
committerMark Rushakoff <mark.rushakoff@gmail.com>2012-05-27 08:25:00 -0700
commitd138921cece0c4923849ff61100fcce56e98e967 (patch)
tree178684c7c087476dd70c843582d12b832adc4787 /guides/source
parent490b52ee8e9110d2cc484c3ef420af37c381e94b (diff)
downloadrails-d138921cece0c4923849ff61100fcce56e98e967.tar.gz
rails-d138921cece0c4923849ff61100fcce56e98e967.tar.bz2
rails-d138921cece0c4923849ff61100fcce56e98e967.zip
"a sql" -> "an SQL" per API documentation guidelines
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/active_support_instrumentation.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_support_instrumentation.textile b/guides/source/active_support_instrumentation.textile
index 430549fba4..666110495c 100644
--- a/guides/source/active_support_instrumentation.textile
+++ b/guides/source/active_support_instrumentation.textile
@@ -15,7 +15,7 @@ h3. Introduction to instrumentation
The instrumentation API provided by ActiveSupport allows developers to provide hooks which other developers may hook into. There are several of these within the Rails framework, as described below in <TODO: link to section detailing each hook point>. With this API, developers can choose to be notified when certain events occur inside their application or another piece of Ruby code.
-For example, there is a hook provided within Active Record that is called every time Active Record uses a SQL query on a database. This hook could be *subscribed* to, and used to track the number of queries during a certain action. There's another hook around the processing of an action of a controller. This could be used, for instance, to track how long a specific action has taken.
+For example, there is a hook provided within Active Record that is called every time Active Record uses an SQL query on a database. This hook could be *subscribed* to, and used to track the number of queries during a certain action. There's another hook around the processing of an action of a controller. This could be used, for instance, to track how long a specific action has taken.
You are even able to create your own events inside your application which you can later subscribe to.