A survey app in rails