提交 b894b7b9 编写于 作者: R Robin Dupret

Fix few typos in the documentation [ci skip]

上级 d39db9da
......@@ -30,7 +30,7 @@ module ActiveModel
# end
#
# Then in your class, you can use the +before_create+, +after_create+ and
# +around_create+ methods, just as you would in an Active Record module.
# +around_create+ methods, just as you would in an Active Record model.
#
# before_create :action_before_create
#
......
......@@ -577,7 +577,7 @@ def __update_callbacks(name) #:nodoc:
# The callback can be specified as a symbol naming an instance method; as a
# proc, lambda, or block; as a string to be instance evaluated; or as an
# object that responds to a certain method determined by the <tt>:scope</tt>
# argument to +define_callback+.
# argument to +define_callbacks+.
#
# If a proc, lambda, or block is given, its body is evaluated in the context
# of the current object. It can also optionally accept the current object as
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册