Skip to content

Add count_votes_* methods to readme cache section #125

@harmdewit

Description

@harmdewit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions