Variety of improvements and additions:
[selectricity] / app / models / ranking.rb
diff --git a/app/models/ranking.rb b/app/models/ranking.rb
new file mode 100644 (file)
index 0000000..f24f0f9
--- /dev/null
@@ -0,0 +1,4 @@
+class Ranking < ActiveRecord::Base
+  belongs_to :candidate
+  belongs_to :vote
+end

Benjamin Mako Hill || Want to submit a patch?