Surveyor is a Rails gem plugin that lets you easily design surveys, questionnares, quizes, etc... and add them to your app.  (See Readme for more information)