RubyGems Navigation menu

ancestry 3.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:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 4.3.3 - April 10, 2023 (24,5 KB)
  2. 4.3.2 - March 26, 2023 (24,5 KB)
  3. 4.3.1 - March 20, 2023 (24,5 KB)
  4. 4.3.0 - March 09, 2023 (25 KB)
  5. 4.2.0 - June 10, 2022 (22,5 KB)
  6. 3.2.0 - September 23, 2020 (17,5 KB)
Mostrar todas las versiones (37 total)

dependencias de Runtime (1):

activerecord >= 4.2.0

dependencias de Development (4):

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

Propietarios:

Subida por:

Autores:

  • Stefan Kroes, Keenan Brock

SHA 256 checksum:

c13e52eac87378f335e38382362009581588dd35e5a60fcebed76295c41388fc

Total de descargas 24.485.295

Para esta versión 1.816

Licencia:

MIT

Versión de Ruby requerida: >= 2.0.0

Enlace: