Acts as nested interval, like nested set, only faster!
I just ported Pythonic’s acts as nested interval to Rails 3. Nested interval is like nested set, only it’s inserts are faster.
https://github.com/clyfe/acts_as_nested_interval
Currently adding a virtual root feature. There’s also a project acts_as_nested_moebius on GH that implements a smarter nested interval (via Moebius encoding) that’s better when moving subtrees. Would be nice to also have that one ported.
Post a comment