I have a partial that renders on my home page, and it displays fields from an instance variable, @matchup (e.g. @matchup.num_votes). When the matchup is clicked, a jQuery event-handler makes an AJAX request to the server that updates the value of fields on @matchup, and then updates the value of @matchup by pulling a Matchup object at random.
How can I make these changes (the new value of @matchup) reflect in the view without refreshing the whole page?