I found the solution by myself! It was a wrong Content-type of the AJAX response.
I don't know why, but the Content-type of the response was text/html instead of text/javascript an so the response was not evaluated by prototype. If fixed this by explicitly setting the content type in the action using: @headers['Content-Type'] = 'text/javascript; charset=utf-8' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---