1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix few typos in the documentation [ci skip]

This commit is contained in:
Robin Dupret 2013-12-21 17:44:43 +01:00
parent d39db9da1a
commit b894b7b90a
2 changed files with 2 additions and 2 deletions

View file

@ -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
#

View file

@ -577,7 +577,7 @@ module ActiveSupport
# 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