How do I set MySQL as the default database in Rails 3?

后端 未结 4 1385
無奈伤痛
無奈伤痛 2021-02-04 08:34

I started using Rails 2 last April but stopped this June because I thought learning it when Rails 3 was released would be more practical since a lot of it was completely refacto

4条回答
  •  醉梦人生
    2021-02-04 08:58

    In tadman's answer, use gem 'mysql2' for the rails 3 since rails 3 now uses the new mysql adapter !!

提交回复
热议问题