Survey Maker in Ruby with PSQL