Passing a form object to a partial rendered from an ajax request
问题 I have an event form with some nested attribute models. The additional models are rendered after a client is selected from a select box. An observer watches and calls a controller action which renders a partial containing the fields_for nested models. The issue I'm having is that I can't pass the event 'form' block to the newly rendered partial - at least I can't figure out how... The code below raises the error: "wrong number of arguments (0 for 1)". Any help or suggestions are appreciated.