Creating a Database for a Rails Project
3rdRail supports these databases:
When you
created a new project using
the you selected the database for the project.
To configure a database to be used by your project
-
Set project configuration preferences in the database.yml file:
-
Set up the following database instances for a Rails project:
- Development
- Test
- Production
-
Set the parameters for each database instance:
- Database Name
- User Name
- Password
The database is now set up.
If you want to change to a different database, edit the adapter and database
instance values in the database.yml file.
Stop the server before switching databases.
Related Tasks
Creating a New Rails Project
Using InterBase
Using MySQL
Migrating a Database
CodeGear brand
and product names are service marks, trademarks or registered trademarks of Borland Software
Corporation in the United States and other countries.