search for: controller_callback_method_name

Displaying 1 result from an estimated 1 matches for "controller_callback_method_name".

2009 Apr 18
0
A bug in sweeper.rb? [was: A frustrating and strange error when config.action_controller.perform_caching = true]
...up is in the following method of sweep.rb def after(controller) callback(:after) if controller.perform_caching # Clean up, so that the controller can be collected after this request self.controller = nil end A little later...... def callback(timing) controller_callback_method_name = "#{timing}_#{controller.controller_name.underscore}" action_callback_method_name = "#{controller_callback_method_name}_#{controller.action_name}" __send__(controller_callback_method_name) if respond_to?(controller_callback_method_name, true)...