Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # command
- # generate
- `--pretend` : 実際にはファイルを作成しない
- # server
- `--environment` : 実行環境を指定する
- - ex: `$ rails s --environment=production`
- `--port` : ポート番号を指定
- # console
- `rails console -s` で、コンソール終了時にデータベースの変更をロールバックできる
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement