How to disable “Cannot Render Console from…” on Rails

You need to specifically allow the 10.0.2.2 network space in the Web Console config.

So you’ll want something like this:

class Application < Rails::Application
  config.web_console.permissions="10.0.2.2"
end

Read here for more information.

As pointed out by pguardiario, this wants to go into config/environments/development.rb rather than config/application.rb so it is only applied in your development environment.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)