Skave Rat wrote:
Is there a way to render an action into a div?
I click on a link_to_remote link, and the content of an action is put
into an <div>
Yes. You're interested in RJS. You can do it a few ways. One is to
provide the element to update in the call itself, which means you will
just do a render in the controller. Another is to use render :update in
the controller and specify which element gets updated. You can also use
rjs partials so the updating code is not cluttering up your controller.