aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/callbacks.rb
diff options
context:
space:
mode:
authorTom Stuart <tom@experthuman.com>2010-08-05 09:02:30 +0100
committerTom Stuart <tom@experthuman.com>2010-08-05 09:06:47 +0100
commitf544c0a32dd86d4fe2c11e9111d3403fbbab2776 (patch)
tree2602c636a756cdafea1a7164c36e19f31342a563 /activesupport/lib/active_support/callbacks.rb
parentd191db76e04f065e1b0cff3766c818f9b8e2f43a (diff)
downloadrails-f544c0a32dd86d4fe2c11e9111d3403fbbab2776.tar.gz
rails-f544c0a32dd86d4fe2c11e9111d3403fbbab2776.tar.bz2
rails-f544c0a32dd86d4fe2c11e9111d3403fbbab2776.zip
Fix ActiveSupport::Callbacks' define_callbacks and ActiveSupport::Concern documentation to look like native English
Diffstat (limited to 'activesupport/lib/active_support/callbacks.rb')
-rw-r--r--activesupport/lib/active_support/callbacks.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb
index adabdd3388..4950d009d1 100644
--- a/activesupport/lib/active_support/callbacks.rb
+++ b/activesupport/lib/active_support/callbacks.rb
@@ -568,9 +568,9 @@ module ActiveSupport
#
# would trigger <tt>Audit#before_save</tt> instead. That's constructed by calling
# <tt>"#{kind}_#{name}"</tt> on the given instance. In this case "kind" is "before" and
- # "name" is "save". In this context treat ":kind" and ":name" as special thing where
- # ":kind" refers to "callback type(before/after)" and ":name" refers to the method on
- # which callbacks are being defined.
+ # "name" is "save". In this context ":kind" and ":name" have special meanings: ":kind"
+ # refers to the kind of callback (before/after/around) and ":name" refers to the
+ # method on which callbacks are being defined.
#
# A declaration like
#