Ruby on Rails websites by default cannot be displayed in an IFrame. Since the Web-Browser tab displays the page in an IFrame, it will show an error when trying to visit a Rails website. You can get around this error by opening App/config/application.rb and adding the following config inside the class: