brendon/ranked-model
An acts_as_sortable/acts_as_list replacement built for Rails 4+ observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 88
- Release rhythm 35
- Longevity 100
Flags: no_releases no_readme
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5696
- days_rel: n/a
- days_push: 72
- n_releases_24m: 0
Adoption not part of the score
1093 stars · 135 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ranked-model is a Ruby gem for Rails that manages row ordering/sorting in ActiveRecord models, serving as a modern replacement for acts_as_list and acts_as_sortable. It uses relative integer ranking with ARel for efficient positioning of records within scoped lists.
Use cases
- sort rails records with drag and drop ordering
- maintain ordered lists in activerecord models
- replace acts_as_list with better performance
- reorder rows in a scoped list without rewriting all positions
- implement sortable todo or playlist items in rails
When to choose
- you need efficient reordering of large lists without updating every row
- you want relative positioning with scoped ordering in Rails 4.2+
When to avoid
- you are starting a new project - the maintainer recommends the newer Positioning gem
- you are not using Rails or ActiveRecord
Facets
library · maturity maintenance
orm database web-development backend databases ruby rails gem sorting row-ordering activerecord drag-and-drop-ordering web-server
1 source
- homepage: https://github.com/mixonic/ranked-model · fetched 2026-08-29 · abb52a30e03d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| brendon/ranked-model | main | 72 |
For agents
markdown · JSON · MCP: product_card(name="brendon/ranked-model")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem