2010-01-28から1日間の記事一覧
ActionController::Helpersのhelpers()を使います。 # ruby script/console >> ApplicationController.helpers.simple_format "aaa" => "<p>aaa</p>"という感じ。
ActionController::Helpersのhelpers()を使います。 # ruby script/console >> ApplicationController.helpers.simple_format "aaa" => "<p>aaa</p>"という感じ。