Creating a surveyor on ruby on rails