我刚刚安装了带有rails 4.2的web控制台:
gem 'web-console', :group => :development
bundle install当我重新启动服务器时
passenger start当我加载一个错误页面时,没有控制台。为什么?
发布于 2016-09-23 01:06:30
如果您希望在所需页面中显示web控制台。
在页面中的任意位置添加此行
<%= console %>然后,它将呈现web控制台。
https://stackoverflow.com/questions/39644925
复制相似问题