When I started working with Rails in 2008 having come from PHP, both communities were pretty squarely in the MySQL camp by default. That changed quickly over the following couple of years however. As I recall, the free Heroku Postgres offering had a huge influence.