small medium large xlarge

Generic-user-small
24 Aug 2016, 06:41
Joe Sustaric (2 posts)

Hi there, Just started to go though this book with the recent 5.0.0.1 release. In the 2nd chapter pg 35 there is a section discussing the web-console debugging option in the error page of rails. It does not seem to appear in the 5.0.0.1 version. Was this taken out of the release from the beta? If so how do you re enable it? It appears to be in the Gemfile but when I try to manual render it in a view it does not appear to work. Thanks Joe Edit: Sorry Should have made a better thread title, but I cant seem to edit it. oh well.

Samr_small_pragsmall
24 Aug 2016, 15:50
Sam Ruby (634 posts)

web console works for me on 5.0.0.1.

Try adding:

config.web_console.whitelisted_ips = %w( 0.0.0.0/0 ::/0 )

to config/environments/development.rb and restarting your server

Generic-user-small
25 Aug 2016, 04:29
Joe Sustaric (2 posts)

Thanks, that got it working. Cheers

You must be logged in to comment