]> projects.mako.cc - selectricity-live/blobdiff - app/models/raw_voter_list.rb
Updated the system to Rails 1.2.
[selectricity-live] / app / models / raw_voter_list.rb
old mode 100644 (file)
new mode 100755 (executable)
index 2f7cb28..71b200f
@@ -6,7 +6,7 @@ class RawVoterList
   include Enumerable
 
   def initialize(params={})
-    @email = params[:email] || 1
+    @email = params[:email].to_i || 1
     @input_addresses = params[:input_addresses] || String.new
   end
 

Benjamin Mako Hill || Want to submit a patch?