System to create and take surveys using ActiveRecord and Ruby