Ancestry

Ancestry

Ancestry allows the records of a ActiveRecord model to be organized in a tree structure, using a single, intuitively formatted database column. It exposes all the standard tree structure relations (ancestors, parent, root, children, siblings, descendants) and all of them can be fetched in a single sql query. Additional features are named_scopes, integrity checking, integrity restoration, arrangement of (sub)tree into hashes and different strategies for dealing with orphaned records.

Rubygem ancestry

Total Downloads
543112
Releases
15
Current Version
2.1.0
Released
2014-04-16 00:00:00 UTC
First Release
2009-10-16 01:00:00 UTC

Github stefankroes/ancestry

Watchers
1539
Forks
202
Development activity
Less active
Last commit
2014-01-10 12:30:44 UTC
Contributors
20
Issues
Wiki pages

Resources

Submitted Type Title
2011-04-18 09:45:22 UTC
by Christoph Olszowka
Screencast
railscasts.com referencing Ancestry 1  

Comments

There are no comments yet, be the first to write one!

Post a comment

Markdown supported
or
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.