RubyGems Navigation menu

ancestry 4.2.0

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.

Gemfile:
=

installation:
=

Versions:

  1. 5.1.0 March 08, 2026 (28 ko)
  2. 5.0.0 February 09, 2026 (26,5 ko)
  3. 4.3.3 April 10, 2023 (24,5 ko)
  4. 4.3.2 March 26, 2023 (24,5 ko)
  5. 4.3.1 March 20, 2023 (24,5 ko)
  6. 4.2.0 June 10, 2022 (22,5 ko)
Voir toutes les versions (39)

Dépendances de Runtime (1):

activerecord >= 5.2.6

Dépendances de Development (5):

appraisal >= 0
minitest >= 0
rake ~> 13.0
simplecov >= 0
yard >= 0

Propriétaires:

Pushed by:

Auteurs:

  • Stefan Kroes, Keenan Brock

Total de contrôle SHA 256:

=

Total de téléchargements 35 593 282

Pour cette version 2 000 779

Version publiée:

License:

MIT

Version de Ruby requise: >= 2.5

New versions require MFA: true

Liens: