Anyone know the best way to display all the users that voted for a story?

What's the best code to implement something like this so the database performance is not terribly slow.

I can take care of the view code. It's the controller and model code that's confusing me.

This is another example that should have been included in the book, imo.

Thanks for any tips!