aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2013-06-09 14:23:45 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2013-06-09 14:23:45 +0530
commit442c52e8150e2445e7a1654fd5ac0845bdbd6e4c (patch)
tree62603d5aa3d974a7ff4f18007853f94a09b4cba3
parent8b82387c97e60faff77c3db30e53abf2f94450d0 (diff)
downloadrails-442c52e8150e2445e7a1654fd5ac0845bdbd6e4c.tar.gz
rails-442c52e8150e2445e7a1654fd5ac0845bdbd6e4c.tar.bz2
rails-442c52e8150e2445e7a1654fd5ac0845bdbd6e4c.zip
Fixed typos in activesupport [ci skip]
- eval'ed to eval'd in accordance with https://github.com/rails/rails/pull/10889 - tried to improve statement about compiling Procs into methods using define_method
-rw-r--r--activesupport/lib/active_support/callbacks.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb
index 85b7669353..0cfbed5588 100644
--- a/activesupport/lib/active_support/callbacks.rb
+++ b/activesupport/lib/active_support/callbacks.rb
@@ -403,8 +403,8 @@ module ActiveSupport
# the same after this point:
#
# Symbols:: Already methods.
- # Strings:: class_eval'ed into methods.
- # Procs:: define_method'ed into methods.
+ # Strings:: class_eval'd into methods.
+ # Procs:: using define_method compiled into methods.
# Objects::
# a method is created that calls the before_foo method
# on the object.
@@ -648,7 +648,7 @@ module ActiveSupport
#
# * <tt>:terminator</tt> - Determines when a before filter will halt the
# callback chain, preventing following callbacks from being called and
- # the event from being triggered. This is a string to be eval'ed. The
+ # the event from being triggered. This is a string to be eval'd. The
# result of the callback is available in the +result+ variable.
#
# define_callbacks :validate, terminator: 'result == false'