Removed rogue p of variable in votes controller.
Added event delegation for Rails AJAX call.
Rewrote Votes Controller to take advantage of built in polymorphic methods.
Added Tallyable functionality into answer and question models so both models can access their own vote counts.
Added validation to ensure new vote being saved is unique between the user, and the type of vote (votable type and votable id).
Added custom Tallyable method to view, and included hidden field of session user_id to be included in params being passed back to votes controller.
Rolled back migration adding vote_count column to answers, and removed corresponding migration.
Changed db schema to reflect migration rollback and deletion.
Added Tallyable module in concerns to allow any model with votes to access its custom methods.
Added event delegation for vote ajax request. Removed unneeded selector functions from answer votes view.
Added container selector module to be accessed by multiple controllers for ajax event delegation.
Removed unneeded p from Answers Controller.
Removed unneeded logic from vote model, now taken care of by built in active record functionality.
Redefined vote find to use built in active record find method chain.