Skip to content
Browse files

Fix few typos in the documentation [ci skip]

  • Loading branch information...
1 parent d39db9d commit b894b7b90a6aced0e78ab84a45bf1c75c871bb2d @robin850 robin850 committed Dec 21, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 activemodel/lib/active_model/callbacks.rb
  2. +1 −1 activesupport/lib/active_support/callbacks.rb
View
2 activemodel/lib/active_model/callbacks.rb
@@ -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
2 activesupport/lib/active_support/callbacks.rb
@@ -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

0 comments on commit b894b7b

Please sign in to comment.
Something went wrong with that request. Please try again.