surveys rails example