The action 'load' could not be found for Widget #47

atambo opened this Issue Oct 25, 2011 · 3 comments


None yet

3 participants


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:
@apotonick I think should be closed

@apotonick apotonick closed this Apr 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment