3
這裏該代碼塊拋出的Rails控制檯的警告消息 - 警告:沒有別的搶救也沒用警告:其他沒有救援是沒用的?
def handle_exceptions(e)
case e
when ActionController::UnknownAction, ActiveRecord::RecordNotFound, ActionController::RoutingError
not_found
else
internal_error(e)
end
end
任何線索,爲什麼?
我已經使用Ruby 1.9.3p0在我的rails試圖3.1.3控制檯,似乎是工作的「精」。我的意思是沒有警告......你使用的是什麼紅寶石和鐵軌? – brutuscat 2011-12-17 19:58:19