ใช้งานกับภาษาไทย
From Phayoune WiKi
ตัวอย่างใช้ภาษาไทยกับ controller Welcome
class SiteController < ApplicationController before_filter :configure_charsets def index end def about end def help end def configure_charsets response.headers["Content-Type"] = "text/html; charset=tis620" end end
