Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add count_votes_* methods to readme cache section #125

Open
harmdewit opened this issue Jul 28, 2015 · 0 comments
Open

Add count_votes_* methods to readme cache section #125

harmdewit opened this issue Jul 28, 2015 · 0 comments

Comments

@harmdewit
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant