migrate db to postgres and remove binding.pry in survey controller