A Rails engine that programatically generates surveys