survey app, using active-record and ruby