foodsoft/plugins/polls/app/models/poll_vote.rb
Patrick Gansterer d476993321 Add polls plugin
2020-02-24 14:27:22 +01:00

6 lines
149 B
Ruby

class PollVote < ActiveRecord::Base
belongs_to :poll
belongs_to :ordergroup
belongs_to :user
has_many :poll_choices, dependent: :destroy
end