Skip to content
Commits on Mar 27, 2010
Commits on Oct 10, 2009
  1. merging

    committed Oct 10, 2009
Commits on Sep 26, 2009
Commits on Sep 22, 2009
  1. removing extraneous parens

    James Cash committed Sep 21, 2009
Commits on Sep 21, 2009
  1. Use to_sentence instead of join(' ,') for displaying the results of a…

    James Cash committed Sep 21, 2009
    … tie
  2. Calling the methods from the lib/results/preferential.rb directly, in…

    James Cash committed Sep 20, 2009
    …stead of including
    
    the module
  3. Changing functions inside module to methods, so the module doesn't ne…

    James Cash committed Sep 20, 2009
    …ed to be
    
    included, since we don't necessarly want the funtions here polluting the
    namespace of the controller
  4. Moving logic for finding the winner of a preferential into the contro…

    James Cash committed Sep 20, 2009
    …ller, out
    
    of the view
  5. Moving code for finding winner of a preferential election out of

    James Cash committed Sep 20, 2009
    application_helper and putting into lib/, in order to facilitate moving logic
    out of the view and into the controller
Commits on Sep 20, 2009
  1. @rafd

    security and other enhancements

    rafd committed Sep 20, 2009
  2. Set the default parameter of the hashes created in the controller for…

    James Cash committed Sep 20, 2009
    … election
    
    results in the hash constructor, rather than by manually calling Hash#default=
    after the fact
  3. Using Symbol#to_proc for map instead of a block

    James Cash committed Sep 20, 2009
  4. Removing extraneous parentheses

    James Cash committed Sep 20, 2009
  5. Replacing string concatenation with interpolation

    James Cash committed Sep 20, 2009
  6. Base case of preferential voting seems to be working

    James Cash committed Sep 19, 2009
Commits on Sep 19, 2009
  1. Re-ordering test to make sure the object is not nil before calling me…

    James Cash committed Sep 19, 2009
    …thods on it
  2. Don't consider spoiled ballots in candidate consideration after deter…

    James Cash committed Sep 19, 2009
    …mining
    
    number, also factoring out common tie-breaking code
  3. When decrementing choices after removing first choice candidate, keep…

    James Cash committed Sep 19, 2009
    … the number above -1
  4. Changing check for spoiled ballots to something that actually makes s…

    James Cash committed Sep 19, 2009
    …ense
  5. Return the number of spoiled ballots along with the winner when calcu…

    James Cash committed Sep 19, 2009
    …lating
    
    the winner of a preferential election
  6. Adding code to have preferential voting view display the number of sp…

    James Cash committed Sep 19, 2009
    …oiled ballots
  7. Changes to _preferential.html.haml for processing the results in the …

    James Cash committed Sep 19, 2009
    …case of a tie
  8. Collapsing if statement

    James Cash committed Sep 19, 2009
  9. Changes to results.html.haml for displaying the results in the case o…

    James Cash committed Sep 19, 2009
    …f a tie
  10. Adding public/stylesheets/*.css to the .gitignore

    James Cash committed Sep 19, 2009
  11. Removing parenthesis from helper to better fit with what seems to be …

    James Cash committed Sep 18, 2009
    …the style
  12. Minor changes to display of voting results

    James Cash committed Sep 18, 2009
Commits on Sep 18, 2009
  1. More work on the voting helper

    James Cash committed Sep 18, 2009
  2. Adding a comment, tiding up formatting a little

    James Cash committed Sep 18, 2009
Something went wrong with that request. Please try again.