renamed survey.rb variable to allow creation of surveys (previously returned errors)