Archive - Ruby on Rails

Adding a database in Ruby on Rails

October 02 0 Comments Category: Blog, Ruby on Rails

To specify a database connection in Ruby on Rails:

  1. Ensure you have MySQL or postgreSQL installed on your web server
  2. Navigate to the config > database.yml file
  3. Insert your database connection details