Supposing you''re using an ajax call to the delete action,
you''ll be
using an RJS template with:
page.replace_html ''my-div'',
:partial=>''my_partial''
Spiceee.
adi wrote:> I have a partial that display me some informations from database
> When i delete an entry i wan''t to refresh the partial that updates
to
> page too wihtout the deleted item.
> How can i refresh a partial?
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---