# ryanto/acts_as_votable

Votable ActiveRecord for Rails

Repository: https://github.com/ryanto/acts_as_votable
Canonical: https://ross.abutalabs.com/products/acts_as_votable
Language: Ruby
License Family: other
Last push: 2022-12-12T17:27:52+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5725, "days_push": 1360, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1526, forks 213 (observed 2026-08-28T04:04:58.438785+00:00)

## What it is
A Ruby gem that adds voting functionality (upvote/downvote, like/dislike) to Rails ActiveRecord models. Any model can vote on any other model, with support for arbitrary scopes and cached vote tallies.

## Use cases
- add upvotes/downvotes to posts in a rails app
- let users like or dislike content
- implement voting on any activerecord model
- track votes from non-user models like groups or teams
- count likes and dislikes on records

## When to choose
- you have a Rails/ActiveRecord app and need flexible voting or liking on models
- you want votes to come from arbitrary voter models, not just users
- you need scoped voting and cached vote counts

## When to avoid
- you are not using Rails or ActiveRecord
- you need a standalone voting API service
- you need very advanced reputation or ranking algorithms beyond weighted scores

## Facets
- artifact type: library
- maturity: maintenance
- function: orm, database
- domain: web-development, backend
- platform: ruby
- tags: rails, activerecord, voting, like-dislike, gem, web-server

## Member repositories
- ryanto/acts_as_votable (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:58.438785+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:37.781306+00:00, confidence not recorded.
  - readme: https://github.com/ryanto/acts_as_votable (fetched 2026-08-28T04:04:58.438785+00:00, sha 356f8dbe5f9c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
