Add polls plugin

This commit is contained in:
Patrick Gansterer 2017-11-05 22:16:32 +01:00
parent 42e0ce86a8
commit d476993321
29 changed files with 787 additions and 0 deletions

View file

@ -0,0 +1,6 @@
class PollVote < ActiveRecord::Base
belongs_to :poll
belongs_to :ordergroup
belongs_to :user
has_many :poll_choices, dependent: :destroy
end