{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/1a77dffcb298f0420b7e83bf17076e71?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1a77dffcb298f0420b7e83bf17076e71","url":"https://api.github.com/users/keroger2k","login":"keroger2k","id":460243},"milestone":null,"labels":[],"assignee":null,"updated_at":"2011-11-11T21:34:11Z","comments":1,"closed_at":"2011-11-11T21:34:11Z","url":"https://api.github.com/repos/holman/play/issues/30","body":"vote.count is being used to populate the playcount on the show_song page.  \r\n\r\nshow_song.rb\r\n\r\n> def plays\r\n        @song.votes.count\r\n      end\r\n\r\nI would assume this would be \r\n\r\n>def plays\r\n    @song.playcount || 0\r\nend\r\n","html_url":"https://github.com/holman/play/issues/30","title":"playcount","number":30,"id":2213701,"created_at":"2011-11-11T21:24:57Z"},"action":"closed"}