I had posted a question here and on IRC about an issue I had with RJS
templates not automatically evaluating (I had to put my own
eval(response.responseText) in an :complete).
The issue was that the content type was not being set to
before_filter in my application.rb. I had put that line in a long time
ago to make validator.org like my xhtml strict and forgotten about it,
and didn’t quite realize how the auto-evaluation magic of prototype
worked (and still don’t to be honest).
I guess I am a little confused why the content-type wouldn’t be
overwritten when the template is rendered but I won’t worry about it.
Maybe this will help someone else.