2017-05-07 77 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 
相关问题