作者: lTERRAl (臥龍光線 \|/ \|/) 2012-01-27 23:35:00
我想你 蓋掉了 rails 預設的保留 method預設會有 request 還有 responserequest 是用來處理 導向正確的controller跟 action而response 是用來導向正確的 view template或是 path像是你可以使用 request.post? 來檢查是否為post verb這裡因為你蓋掉你的controller的 request method變成 你導不到正確的action 一直重複你的request method才會行成你這種首頁導不到 一值重複執行這個request方法