Cannot Render Console From Some IP With Rails

Posted by Weston Ganger on November 17, 2015

I was getting this odd error Cannot render console to That was the IP of the machine I was running the server on.

In my development environment I don’t care what address it comes from because my OS’s firewall will restrict that.

Recommended: Disable That whiny crap in the development environment

# config/environments/development.rb

config.web_console.whiny_requests = false

Or To allow console to a specific address or addresses in all environments

# config/application.rb

config.web_console.whitelisted_ips = ''
# or a whole network
config.web_console.whitelisted_ips = ''

Related External Links:

Posted in Rails and Tagged with rails web-console 

Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts