lighttpdを使ったら文字化けした。
その対策。
app/controllers/application.rbに
before_filter(:set_charset) def set_charset @headers["Content-Type"] = "text/html; charset=utf-8" end
として解決。
その対策。
app/controllers/application.rbに
before_filter(:set_charset) def set_charset @headers["Content-Type"] = "text/html; charset=utf-8" end
として解決。