RailsでそのままHTMLを表示すると例外がたくさん出る
html = "
......." # HTML文書ねrender :inline => html
または
render :text => html
とやると、htmlの表示はできるが、たくさんのエラーが出る。
たぶん、renderでhtmlを生成するときにダブってしまうからだが、何かうまくやる方法はないだろうか?
send_dataも同様のエラーが出るしね。
send_data html, type => 'text/html', :disposition => 'inline'