Modified rails/databases recipe to support pg