新手问题 为什么最新 Rails Guide 中 Getting Started 中去掉了 Creating the Database 这一节?

088pause · April 23, 2014 · Last by 088pause replied at April 23, 2014 · 2152 hits

新手在看最新的基于 Rails 4.1.0 的 Rails Guide 的过程中,发现在第四章 Creating a New Rails Project 中,相对于基于 Rails 3.2 的 Rails Guide,少了 Configuring a Database 和 Creating the Database 这两节。这是 Rails 4 做了什么改动吗?

Rails 4 的默认 database.yml 已经可以满足一般性的开发,使用的 SQLite 数据库文件也会自动创建,可以跳过这两步了

#1 楼 @swordray 这样啊,谢谢。

You need to Sign in before reply, if you don't have an account, please Sign up first.