diff --git a/app/models/poll.rb b/app/models/poll.rb index 0c0e5a1c4..27ba7c927 100644 --- a/app/models/poll.rb +++ b/app/models/poll.rb @@ -1,4 +1,8 @@ class Poll < ApplicationRecord + self.ignored_columns = %w[ + allow_multiple_selections + ] + attr_accessor :poll_options_input_array serialize :voting_data diff --git a/app/models/poll_option.rb b/app/models/poll_option.rb index cb7fcc4b1..c38af7e59 100644 --- a/app/models/poll_option.rb +++ b/app/models/poll_option.rb @@ -1,4 +1,8 @@ class PollOption < ApplicationRecord + self.ignored_columns = %w[ + counts_in_tabulation + ] + belongs_to :poll has_many :poll_votes