acts_as_recursive_tree
activerecord-exclusive-arc
acts_as_recursive_tree | activerecord-exclusive-arc | |
---|---|---|
1 | 2 | |
18 | 18 | |
- | - | |
5.1 | 6.7 | |
9 months ago | 4 months ago | |
Ruby | Ruby | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
acts_as_recursive_tree
-
Are Exclusive Arcs Evil?
The other option is to use something like the acts_as_recursive_tree gem, which is a much narrower implementation. The upside is that you get your tree pretty easily and you can make use of pretty performant SQL. The downside is that it's more rigid, which means that if/when your requirements change you may end up having to either figure out how to modify this thing or rewrite meaningful sections from scratch.
activerecord-exclusive-arc
What are some alternatives?
pg_party - ActiveRecord PostgreSQL Partitioning
AASM - AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid, NoBrainer, Dynamoid)
online_migrations - Catch unsafe PostgreSQL migrations in development and run them easier in production (code helpers for table/column renaming, changing column type, adding columns with default, background migrations, etc).
PaperTrail - Track changes to your rails models
textacular - Textacular exposes full text search capabilities from PostgreSQL, and allows you to declare full text indexes. Textacular will extend ActiveRecord with named_scope methods making searching easy and fun!
Annotate - Annotate Rails classes with schema and routes info
Ruby on Rails - Ruby on Rails
ransack - Object-based searching.
branch_base - Turn your Git Repository into a SQLite Database
Scenic - Versioned database views for Rails