“script/console” vs. “script/console --sandbox”

后端 未结 2 1471
野的像风
野的像风 2021-02-07 09:24

What\'s the difference between just firing up a rails console with script/console and a rails console in sandbox mode with script/console --sandbox.

2条回答
  •  佛祖请我去吃肉
    2021-02-07 09:46

    …run the console in a sandbox—meaning that all your database changes are completely reverted when you exit the console.

提交回复
热议问题