Sha256: 7eaec2ff09e1c20b198a98c94f13df480bce3abba11180517e5d2de3942ff62a

Contents?: true

Size: 1.22 KB

Versions: 3

Compression:

Stored size: 1.22 KB

Contents

= mongoid_tree

For our commercial application we need a proper tree structure with Depth-First and Breadth-First searches, parent and child information. Also subtrees need to be exported to JSON.

Initially I thought of an embedded solution, but this will only be possible once MongoDB supports embedded collections, and even deep-embedded collections.

However this tree is right now on the top of our priority list, means we will put effort into this and release everything in this public gem, as soon as we implement and test it. It will be fully tested with RSpec.
The lack of a proper tree structure is quite noticeable in the mongoid forums.

This gem will receive long-term support since we use it in a commercial long-term application.


== Note on Patches/Pull Requests
 
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
  future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.

== Copyright

Copyright (c) 2010 Rainer Kuhn. See LICENSE for details.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongoid_tree-0.3.0 README.rdoc
mongoid_tree-0.2.0 README.rdoc
mongoid_tree-0.1.0 README.rdoc