Working on a step-by-step workflow audit.
[selectricity] / app / models / election.rb
index 61286e1c1829c00e5880dacffda74370de7033bb..69038e473946ceddd9a2a23e5fe7dae7571ba31f 100644 (file)
@@ -2,6 +2,7 @@ class Election < ActiveRecord::Base
   has_many :candidates
   has_many :voters
   has_many :votes
+  belongs_to :user
   validates_presence_of :name, :description
 
   require 'date'

Benjamin Mako Hill || Want to submit a patch?