A few major changes:
[selectricity-live] / app / models / voter_notify.rb
diff --git a/app/models/voter_notify.rb b/app/models/voter_notify.rb
new file mode 100644 (file)
index 0000000..09f7899
--- /dev/null
@@ -0,0 +1,14 @@
+class VoterNotify < ActionMailer::Base
+
+  def votestart(voter)
+    @subject = "[%s] Election In Progress!" % voter.election.name
+    @recipients = voter.email
+    @from = MAIL_CONFIG[:from]
+    @sent_on = Time.now
+    @body = { :voter => voter }
+  end
+
+  def reminder(voter)
+  end
+
+end

Benjamin Mako Hill || Want to submit a patch?