You could do something like this, this will default to the action in the
same controller.
render(:action => "my_action")
Thanks
Manoj
Wes Gamble wrote:> All,
>
> I have a page where I was using link_to_remote to do an AJAX call to
> dynamically update another part of the page.
>
> I''d like to just do the update no matter what (e.g. take out the
need
> for the user to click).
>
> So I''m thinking that I need to render, but I want my render to do
an
> AJAX request to the same controller method that my link_to_remote did.
>
> How can I achieve that?
>
> Thanks,
> Wes
--
Posted via http://www.ruby-forum.com/.