Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

web-console does not appear on exception pages Rails 7.1.1

I recently upgraded rails 7.0.8 app to rails 7.1.1. Now, I’m not getting the web console on exception pages. But when I put console somewhere in a controller, web-console pops up. The issue is on exception pages.

enter image description here

I’m using

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

  • Rails 7.1.1
  • Ruby 3.2.2
  • web-console’, ‘4.2.1

>Solution :

Make sure that your application’s configuration allows for the web console to be displayed on exception pages.

In your config/environments/development.rb file, you should have the following configuration:

config.web_console.whitelisted_ips = '127.0.0.1'
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading