おもしろwebサービス開発日記

Ruby や Rails を中心に、web技術について書いています

2008-06-03から1日間の記事一覧

after_filterの実行タイミングではまった

after_filterは、各アクションのrenderの後に実行されるようです。下記でhogeアクションを実行するとActionController::DoubleRenderErrorになります。 class HogeController < ApplicationController after_filter :render_test def hoge end end class App…