Modify vote to belong to stone, and to ensure a user can only vote once per resource within the scope of that stone
Add column to votes for linking to stones
Add reference to votes from stone model
Commiting after migration so I can pull.
Merge branch 'master' of https://github.com/Tambling/whetstone into voting
Merge branch 'master' of https://github.com/Tambling/whetstone into voting
Removed stone_id and resource_id for resources_stone_id to make for better routing when creating a new vote
Create model for resources_stone to access votes easily
Change resource, stone, and vote model-level relations to reflect vote's new relation to resources_stone
Modify view to use helper method and use new relations related to votes
Add helper to fetch the resources_stone relationship for creating a vote
Create votes controller to create a vote when a put request is made
Change routes since javascript eliminates the need for nested routing with votes
Update schema
Allow for ajax request so page does not reload every time a vote is cast, does not update the vote count on the page though
Make folder and blank file to keep ajax request from getting a 500 error
Remove test on vote from resource since they are no longer connected.
Fix merge conflicts