poll application made with SQL, ActiveRecord, and Ruby