add html-mode %err for rails