Observe_form only works once

I’m using observe_form for a simple ajax rating/voting system. When the
user changes the form it works great. However, I replace the form with a
:partial in my ajax data returned to reflect the new rating. For some
reason after one successful operation it does not work again… changing
the form has no effect.

If I view the page source it all looks as it should.

Does observe_form stop working once you replace the observed form?

Does observe_form stop working once you replace the observed form?

Er, sorry for the reply to myself, but I found a bug in trac describing
my exact problem. Apparently it is a prototype bug dealing with radio
buttons. :frowning:

http://dev.rubyonrails.org/ticket/7895

I need to search Rails Trac before posting here!