survey taking application in ruby on rails