RubyGems Navigation menu

ancestry 2.2.0

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.

Gemfile:
=

installation:
=

Versions:

  1. 4.3.3 April 10, 2023 (24,5 ko)
  2. 4.3.2 March 26, 2023 (24,5 ko)
  3. 4.3.1 March 20, 2023 (24,5 ko)
  4. 4.3.0 March 09, 2023 (25 ko)
  5. 4.2.0 June 10, 2022 (22,5 ko)
  6. 2.2.0 October 25, 2016 (16,5 ko)
Voir toutes les versions (37)

Dépendances de Runtime (1):

activerecord >= 3.0.0

Dépendances de Development (4):

minitest >= 0
rake ~> 10.0
sqlite3 >= 0
test-unit >= 0

Propriétaires:

Auteurs:

  • Stefan Kroes

Total de contrôle SHA 256:

=

Total de téléchargements 27 289 469

Pour cette version 2 611

Version publiée:

License:

MIT

Version de Ruby requise: >= 1.8.7

Liens: