X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/5a8b533b5abec8dc24674e4ef084b0b9779da8af..b8482ad1846436439b9ef3ba0ddcb3b42588d916:/app/models/raw_voter_list.rb?ds=inline diff --git a/app/models/raw_voter_list.rb b/app/models/raw_voter_list.rb old mode 100644 new mode 100755 index 2f7cb28..71b200f --- a/app/models/raw_voter_list.rb +++ b/app/models/raw_voter_list.rb @@ -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