Major changes in this commit over include work over several days but that was never...
[selectricity-live] / app / models / candidate.rb
index a0e492e8c1f98a6848efc5215db07de5b62f4c7a..dfc8b1fec08fc19e87b320ea3a7c3856d1369c08 100644 (file)
@@ -4,5 +4,9 @@ class Candidate < ActiveRecord::Base
   def <=>(other)
    self.name <=> other.name 
   end
+  
+  def to_s
+    name
+  end
 
 end

Benjamin Mako Hill || Want to submit a patch?