RubyGems Navigation menu

ancestry 2.1.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:
=

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. 2.1.0 April 16, 2014 (16 KB)
Mostrar todas las versiones (37 total)

dependencias de Runtime (1):

activerecord >= 3.0.0

Propietarios:

Autores:

  • Stefan Kroes

SHA 256 checksum:

=

Total de descargas 27.298.402

Para esta versión 2.099.485

Versión publicada:

Licencia:

MIT

Versión de Ruby requerida: >= 0

Enlace: