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  

If fixed this by explicitly setting the content type in the action  

     @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 

Reply via email to