html_safe! change to html_safe and Rails 2.3.17 upgrade and JSON gem upgrade