Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (31 sloc) 1.15 KB do |s| = 'ancestry'
s.summary = 'Organize ActiveRecord model into a tree structure'
s.description = <<-EOF
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.
s.version = '2.0.0' = 'Stefan Kroes' = ''
s.homepage = ''
s.license = 'MIT'
s.files = [
s.add_dependency 'activerecord', '>= 3.0.0'
Jump to Line
Something went wrong with that request. Please try again.