RubyGems Navigation menu

index_tree 0.0.5

This Gem eagerly loads trees by indexing the nodes of the tree. The number of queries needed for loading a tree is N, Where N is the number of different models(ActiveRecords) in the tree. Each inner object in the tree have an index node instance that is connecting it to the root. When the root of the tree is loaded, only the objects that are in the tree are fetched(Pruning). The index nodes are created when the root element is saved and stored in the IndexNode model.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.0.5 - October 04, 2014 (12.5KB)
  2. 0.0.3 - October 01, 2014 (11.5KB)
  3. 0.0.1 - September 29, 2014 (9.5KB)
全てのバージョンを表示(全4件)

Runtime依存関係 (1):

activerecord >= 3.0.0

Development依存関係 (3):

minitest >= 0
rdoc >= 0
sqlite3 >= 0

所有者:

作者:

  • Alex Stanovsky

SHA 256チェックサム:

03285ddef1273c215ad98d1c2bc6148bdc83e15f6d17f8780583975170d59ff5

累計ダウンロード数 10,524

このバージョンのみ 5,783

ライセンス:

N/A

必要なRubyのバージョン: >= 0

リンク: