Ross ROSS = Recommend OSS · open-source software intelligence for agents

collectiveidea/awesome_nested_set

An awesome replacement for acts_as_nested_set and better_nested_set. observed · 2026-08-28

github.com/collectiveidea/awesome_nested_set · Ruby · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

58/100

  • Activity 79
  • Release rhythm 8
  • Longevity 100
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: 6768
  • days_rel: 657
  • days_push: 128
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

2411 stars · 489 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Ruby gem implementing the nested set pattern for ActiveRecord models, serving as a modern replacement for acts_as_nested_set and BetterNestedSet. It manages hierarchical tree data in relational databases using lft/rgt/parent_id columns with configurable options and STI support.

Use cases

  • store hierarchical categories in rails
  • manage tree structures in activerecord
  • replace acts_as_nested_set
  • query nested set hierarchies in ruby
  • model parent-child relationships in a database
  • implement nested comments or menus in rails

When to choose

  • you use ActiveRecord/Rails and need hierarchical tree data with efficient subtree queries
  • you want a maintained, bug-fixed replacement for acts_as_nested_set or BetterNestedSet
  • you need STI support or configurable column names for nested sets

When to avoid

  • you use a non-Ruby or non-ActiveRecord stack
  • you only need shallow parent-child relations where a simple parent_id with adjacency lists suffices
  • your data changes very frequently, since nested sets are costly to update

Facets

library · maturity stable

orm database databases web-development developer-tools ruby jvm nested-set activerecord rails hierarchical-data tree-structure gem

1 source

Member repositories

RepositoryRoleHealth v2
collectiveidea/awesome_nested_setmain58

For agents

markdown · JSON · MCP: product_card(name="collectiveidea/awesome_nested_set")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem