]> projects.mako.cc - selectricity-live/blobdiff - app/models/raw_voter_list.rb
I have added the acts_as_authenticated plugin to code, and have gotten VERY BASIC...
[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?