数据库控制台: rails db .help查看可使用的命令 rails控制台 rails c 普通ruby控制台: irb 转载于:https://www.cnblogs.com/guochunyi/p/6168843.html