Colin L. wrote in post #991091:
On 5 April 2011 18:12, Edward S. [email protected] wrote:
I don’t think you read my post carefully, to repeat, call the helper
from the html.erb file rendered by the AJAX action.
Yes, I’m not quite understanding what you’re suggesting.
I can see this sort of working one way:
In my view, have a script block where jQuery calls the corresponding js
which calls show.js.erb:
which calls my_helper_func. This all seems a little like an overkill to
me. Plus, I’m not sure how to pass along the table_name parameter.
Are you suggesting something simpler? Do you mind posting some