filter

スポンサーリンク
filter

理解しました。Rails4でアクションの前後にフィルタ/処理を挟み込む – Rails Webook

ruby-rails.hatenadiary.com
スポンサーリンク