Metadata


Name
ancestry
Version
4.1.0
Platform
ruby
Authors
Stefan Kroes
Keenan Brock
Bindir
bin
Date
2021-06-28 00:00:00 UTC
Dependencies
activerecord (>= 5.2.6)
appraisal (>= 0, development)
minitest (>= 0, development)
rake (~> 13.0, development)
simplecov (>= 0, development)
yard (>= 0, development)
Description
Ancestry allows the records of a ActiveRecord model to be organized in a tree structure, using the materialized path pattern. It exposes the standard relations (ancestors, parent, root, children, siblings, descendants) and allows them to be fetched in a single query. Additional features include named scopes, integrity checking, integrity restoration, arrangement of (sub)tree into hashes and different strategies for dealing with orphaned records.
Email
keenan@thebrocks.net
Files
CHANGELOG.md
MIT-LICENSE
README.md
lib/ancestry.rb
lib/ancestry/class_methods.rb
lib/ancestry/exceptions.rb
lib/ancestry/has_ancestry.rb
lib/ancestry/instance_methods.rb
lib/ancestry/locales/en.yml
lib/ancestry/materialized_path.rb
lib/ancestry/materialized_path_pg.rb
lib/ancestry/version.rb
Homepage
https://github.com/stefankroes/ancestry
Licenses
MIT
Metadata
{"homepage_uri"=>"https://github.com/stefankroes/ancestry", "changelog_uri"=>"https://github.com/stefankroes/ancestry/blob/master/CHANGELOG.md", "source_code_uri"=>"https://github.com/stefankroes/ancestry/", "bug_tracker_uri"=>"https://github.com/stefankroes/ancestry/issues"}
Post install message
Thank you for installing Ancestry. You can visit http://github.com/stefankroes/ancestry to read the documentation.
Require paths
lib
Required ruby version
>= 2.5
Required rubygems version
>= 0
Rubygems version
3.2.16
Specification version
4
Summary
Organize ActiveRecord model into a tree structure
Original platform
ruby
New platform
ruby