Updated the "votes_per_day" method in graph controller to work better and
author<jlsharps@mit.edu> <>
Thu, 9 Aug 2007 02:03:49 +0000 (22:03 -0400)
committer<jlsharps@mit.edu> <>
Thu, 9 Aug 2007 02:03:49 +0000 (22:03 -0400)
commitc405443c19a18c645aacc16848502f5b91461feb
tree25ba0645046f20ca9f9094c43d318bbaa9806611
parentc4eaad1a963dae4c7449ab93cabc8607d4e8f19c
Updated the "votes_per_day" method in graph controller to work better and
read easier. Also, with Mako's insistence and help, wrote the "votes_per_interval" method (and helpers) in graph controller. The worst part of that
method is when I assign names to the labels_hash, ideas welcome, but it
works for now. Even though the graph uses fixed intervals and is named
"votes_per_interval" it actually shows votes over time (per interval),
so I may rename it in the near future (in fact I would've renamed it for
this commit, but I didn't think till I was writing this statement.)
app/controllers/graph_controller.rb
app/controllers/quickvote_controller.rb
app/controllers/user_controller.rb [deleted file]
app/models/quick_vote.rb
app/views/quickvote/results.rhtml

Benjamin Mako Hill || Want to submit a patch?