Created a partial to DRY the aja voting method. Modified the voter class to
[selectricity-live] / app / models / token.rb
index 4ed9598f15cddc4888a4c32612269ad3f0f124d2..e9f4fd637b94e2e91f533e4a0c1925e803c883d4 100644 (file)
@@ -1,6 +1,6 @@
-class Token < ActiveRecord::Base
-  belongs_to :vote 
-
+class Token < ActiveRecord::Base 
+  belongs_to :vote
+  
   def initialize
     super
 

Benjamin Mako Hill || Want to submit a patch?