无法在文档中找到它,也无法在SO上找到它,但有没有办法在heroku(Celadon Cedar)上以沙箱模式运行Rails(3.2.x)控制台,相当于
rails console --sandbox
答案 0 :(得分:20)
更多" Heroku方式"替代方案,heroku run console --sandbox
也可以解决问题:
$ heroku run console --sandbox
Running `console --sandbox` attached to terminal... up, run.6024
[...]
Loading production environment in sandbox (Rails 3.2.12)
Any modifications you make will be rolled back on exit
irb(main):001:0>