Updated rails app to use pg instead of mysql