In rails < 2.0, when I create a rails new application by the rails command, the configuration of database.yml supports MYSQL by default. While in rails 2.0, it will generate default configuration database.yml for Sqlite3. To make it default as MySQL, run with -d mysql.
rails -d mysql your_application_name
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment