Re: Rails 3 link_to :remote

Matt Royer
Tue, 15 Jun 2010 14:30:22 -0000

Matt Royer wrote:
> I wasn''t sure if this was the right way to accomplish this:
>
> ----
>
> format.js {
>   render :update do |page|
>     page.replace_html ''order_div'', :partial =>
''show_order''
>   end
> }
>
> ----

Sorry, forgot to say that this is in my index action of my orders
controller. Thanks.

--Matt Royer