This works, unless I uncomment the Content-Type line in the
controller. Setting this header should NOT be necessary though I think.
The correct content type for rjs should automatically be set by Rails.
I’ve searched the web for an answer, but the only thing that I found was
that something else was forcing an incorrect mimetype to be set. FYI:
I’m using Webrick in development mode.