2017-05-07 81 views

回答

0

簡單,鍵入:

bundle exec rails c -s

,就是這樣。

$ bundle exec rails c --help 
Usage: rails console [environment] [options] 
-s, --sandbox     Rollback database modifications on exit. 
-e, --environment=name   Specifies the environment to run this console under (test/development/production). 
           Default: development 
相關問題