Browsing articles from "August, 2008"

How to preconfigure your Ruby on Rails application for MySQL

Aug 19, 2008   //   by kyanachik   //   Website Development  //  View Comments

Rails 2.0.2 now defaults your app’s database to SQLite3 (I believe because OSX comes pre-shipped with it).  In order to generate a rails application and having it setup to MySQL is pretty easy.

In your when you create your app add (-d mysql) in the rails command:  rails -d mysql myapp