Displaying 1 result from an estimated 1 matches for "action_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]
...form_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)
__send__(action_callback_method_name) if
respond_to?(action_callback_method_name, true)
end...