]> projects.mako.cc - selectricity-live/blobdiff - app/models/ranking.rb
Working on a step-by-step workflow audit.
[selectricity-live] / app / models / ranking.rb
index 4b96b54c2060e5d8053c313a8975b901635e9042..ba021a92c5489369e75b92094ffe549ccf5c1730 100644 (file)
@@ -6,4 +6,8 @@ class Ranking < ActiveRecord::Base
     self.rank <=> other.rank
   end
 
+  def to_s
+    self.rank.to_s
+  end
+
 end

Benjamin Mako Hill || Want to submit a patch?