Skip to content
This repository
Browse code

Merge pull request #12148 from gzohari/callback-typo

Fix typo in set_callback docs. [ci skip]
  • Loading branch information...
commit 5f9ff8c3fcb4ccafe5a4ed51e9d6833514c27457 2 parents c4fdeb3 + fc4b37c
Carlos Antonio da Silva authored
2  activesupport/lib/active_support/callbacks.rb
@@ -574,7 +574,7 @@ def __update_callbacks(name) #:nodoc:
574 574
       #
575 575
       #   set_callback :save, :before_meth
576 576
       #
577  
-      # The callback can specified as a symbol naming an instance method; as a
  577
+      # The callback can be specified as a symbol naming an instance method; as a
578 578
       # proc, lambda, or block; as a string to be instance evaluated; or as an
579 579
       # object that responds to a certain method determined by the <tt>:scope</tt>
580 580
       # argument to +define_callback+.

0 notes on commit 5f9ff8c

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