반응형 개발/Ruby on rails1 [Ruby on rails] 로컬 개발 환경에서 500.html 확인하는법 - How to test 500.html in rails development env 로컬 개발 환경에서 500 error pages 를 보려고 할때config 설정에 아래와 같이 consider_allrequests_local 를 false 를 설정해 놓았는데도full error 메시지만 나와 당황스러운 경험을 했다. config/environments/development.rb:config.action_controller.consider_all_requests_local = false 내가보고 싶은 에러메시지 화면은 아래와 같은것인데.We're sorry, but something went wrong. config 설정를 아래처럼 한것처럼 아래 화면 처럼 full error message 만 나왔다.config.action_controller.consider_all_requests_l.. 2014. 2. 23. 이전 1 다음 반응형