Updated the "votes_per_day" method in graph controller to work better and
[selectricity] / app / models / quick_vote.rb
index 8d4e6e82141f8b8c67dab67d0103c170a97f0324..eb4e63c421f32a4381a5ae1645730c2f9f912772 100644 (file)
@@ -16,6 +16,7 @@ class QuickVote < Election
   
   def initialize(params={})
     super
+    self.startdate = Time.now
     self.enddate =  Time.now + 30.days
     self.active = 1
     self.anonymous = 1

Benjamin Mako Hill || Want to submit a patch?