ROR configuring databases



Configuring the databases:

Now, we have to configure the three databases regarding ROR. The 
configuration file is database.yml already available in the 
C:\ruby\organics\config subdirectory of "organics" Rails Application created. 
Open this file and set the username and password in each of the sections
(here the password is "the_password"):
development: adapter: mysql database: organics_development username: root password: the_password host: localhost test: adapter: mysql database: organics_test username: root password: the_password host: localhost production: adapter: mysql database: organics_production username: root password: the_password host: localhost