mirror of https://github.com/rails/rails
fix typo in in define_model_callbacks comment [ci skip]
This commit is contained in:
parent
1609ec9879
commit
9ded108e84
|
@ -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 = {
|
||||
|
|
|
@ -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!
|
||||
|
||||
|
|
Loading…
Reference in New Issue