acts_as_votable icon indicating copy to clipboard operation
acts_as_votable copied to clipboard

Add count_votes_* methods to readme cache section

Open harmdewit opened this issue 9 years ago • 0 comments

I've been thankfully using this gem for years, but only now noticed there are count_votes_* methods that correctly chooses between the cached or non-cached method. Would be nice to see this reflected in the readme.

Ran into this issue when i noticed that votes_for.size never uses the cache. See also #82. Then i took a look in the source and noticed the count_votes* methods.

harmdewit avatar Jul 28 '15 12:07 harmdewit