Skip to content
This repository
Browse code

Remove doc for debugging callbacks. Methods don't exist in Rails master

  • Loading branch information...
commit aec5ef243a0c85a9e3bafa89ce873d3837a6ce59 1 parent 6f4d00c
Rafael Mendonça França authored October 13, 2010
10  activerecord/lib/active_record/callbacks.rb
@@ -218,16 +218,6 @@ module ActiveRecord
218 218
   # needs to be aware of it because an ordinary +save+ will raise such exception
219 219
   # instead of quietly returning +false+.
220 220
   #
221  
-  # == Debugging callbacks
222  
-  #
223  
-  # To list the methods and procs registered with a particular callback, append <tt>_callback_chain</tt> to
224  
-  # the callback name that you wish to list and send that to your class from the Rails console:
225  
-  #
226  
-  #   >> Topic.after_save_callback_chain
227  
-  #   => [#<ActiveSupport::Callbacks::Callback:0x3f6a448
228  
-  #       @method=#<Proc:0x03f9a42c@/Users/foo/bar/app/models/topic.rb:43>, kind:after_save, identifiernil,
229  
-  #       options{}]
230  
-  #
231 221
   module Callbacks
232 222
     extend ActiveSupport::Concern
233 223
 

1 note on commit aec5ef2

Rafael Cardoso

So, if you need to debug the callbacks, what you should use now?

Valeu irmão! :)

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