I'm trying to make an AjaxWidget class that contains responds_to_event :load and the load action. I then make some other widgets that inherit from that AjaxWidget. Then when I try to render the widgets load action I get:
The action 'load' could not be found for Widget
Could you setup a minimal test case in widget_test.rb? You should use AbstractController::Base#action_methods to assert.
Actually the problem is that load must be a special method of somekind, when I changed from responds_to_event :load to responds_to_event :load_content it worked fine.
@atambo load is Kernel#load method: http://www.ruby-doc.org/core-1.9.3/Kernel.html#method-i-load
@apotonick I think should be closed