Default content-type in Rails
I always forget this.
class ApplicationController < ActionController::Base include AuthenticatedSystem before_filter :set_encoding private def set_encoding @headers["Content-type"] ||= "text/html; charset=utf8" end end