Rails Quick Tip: Bring Back MySQL to database.yml

In Rails 2.0, when you generate a new app, Rails defaults to SQLite3 as the default database adapter in database.yml. If you’d rather it generate database.yml for MySQL, you can use the following command to generate your app:

rails -d mysql myapp

Courtesy: Rails 2.0.2: Some new defaults and a few fixes


Tags: , ,

Trackback URL

Leave a Reply

About the Blog

Random thoughts on random topics. What? You wanted predictability?

Posts by Tag

Monthly Archives

  • Blogroll

  • Add to Technorati Favorites