Maurício Linhares wrote:
> It will not degrade automatically, you'll have to tell it to do so
> adding an :href property:
>
> link_to_remote "Delete this post",
> { :update => "posts", :url => { :action => "destroy", :id => post.id
> } },
> :href => url_for(:action => "destroy", :id => post.id)
>
> -
> Maur�cio Linhares
> http://codeshooter.wordpress.com/ | http://twitter.com/mauriciojr
>
>
>
> On Mon, Aug 24, 2009 at 8:41 AM, James
That's exactly what I needed.
Thank you very much
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---