aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRyan Selk <ryanselk@gmail.com>2014-10-03 15:31:14 -0600
committerRyan Selk <ryanselk@gmail.com>2014-10-03 15:31:14 -0600
commit9ded108e841773017a27762f7ba6b6a6bd5813ab (patch)
treefbb435cb94952e1e05086591b1d9f4364fc8772e /activesupport
parent1609ec9879d0011f31f0ae90cf3b2bc8b1833390 (diff)
downloadrails-9ded108e841773017a27762f7ba6b6a6bd5813ab.tar.gz
rails-9ded108e841773017a27762f7ba6b6a6bd5813ab.tar.bz2
rails-9ded108e841773017a27762f7ba6b6a6bd5813ab.zip
fix typo in in define_model_callbacks comment [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/callbacks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb
index 21a2f54bc1..4bc13f20ca 100644
--- a/activesupport/lib/active_support/callbacks.rb
+++ b/activesupport/lib/active_support/callbacks.rb
@@ -721,7 +721,7 @@ module ActiveSupport
# would call <tt>Audit#save</tt>.
#
# NOTE: +method_name+ passed to `define_model_callbacks` must not end with
- # `!`, `?` and `=`.
+ # `!`, `?` or `=`.
def define_callbacks(*names)
options = names.extract_options!