ドキュメントでもSOでも見つかりませんでしたが、Rails(3.2.x)コンソールをheroku(Celadon Cedar)でサンドボックスモードで実行する方法はありますか?
rails console --sandbox
ドキュメントでもSOでも見つかりませんでしたが、Rails(3.2.x)コンソールをheroku(Celadon Cedar)でサンドボックスモードで実行する方法はありますか?
rails console --sandbox
より「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>