Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed typos in ActiveSupport::Callbacks documentation. Closes #11254

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 8a351648ab613d42bbbf44586cff8cdeccd181d4 1 parent 011e469
@lifo lifo authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 activesupport/lib/active_support/callbacks.rb
View
6 activesupport/lib/active_support/callbacks.rb
@@ -2,7 +2,7 @@ module ActiveSupport
# Callbacks are hooks into the lifecycle of an object that allow you to trigger logic
# before or after an alteration of the object state.
#
- # This mixing this module allos you to define callbacks in your class.
+ # Mixing in this module allows you to define callbacks in your class.
#
# Example:
# class Storage
@@ -165,12 +165,12 @@ def self.#{callback}_callback_chain
# Runs all the callbacks defined for the given options.
#
- # If a block is given it will be called after each callback reciving as arguments:
+ # If a block is given it will be called after each callback receiving as arguments:
#
# * the result from the callback
# * the object which has the callback
#
- # If the result from the block evaluates as false, callback chain is stopped.
+ # If the result from the block evaluates to false, the callback chain is stopped.
#
# Example:
# class Storage
Please sign in to comment.
Something went wrong with that request. Please try again.