aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
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 /activemodel
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 'activemodel')
-rw-r--r--activemodel/lib/active_model/callbacks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/callbacks.rb b/activemodel/lib/active_model/callbacks.rb
index 467028f9e8..b3d70dc515 100644
--- a/activemodel/lib/active_model/callbacks.rb
+++ b/activemodel/lib/active_model/callbacks.rb
@@ -99,7 +99,7 @@ module ActiveModel
# end
#
# NOTE: +method_name+ passed to `define_model_callbacks` must not end with
- # `!`, `?` and `=`.
+ # `!`, `?` or `=`.
def define_model_callbacks(*callbacks)
options = callbacks.extract_options!
options = {