public
Description: ActsAsNestedSet
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/acts_as_nested_set.git
commit  74ab5b7f7b4e1607ce0b45d08f7b2c8bc60496c2
tree    79b6ffaee18616edd3965b76928180024a924edd
name age message
file README Mon Sep 10 20:03:10 -0700 2007 Turned ActiveRecord::Acts::NestedSet into a plu... [dhh]
file init.rb Mon Sep 10 20:03:10 -0700 2007 Turned ActiveRecord::Acts::NestedSet into a plu... [dhh]
directory lib/ Loading commit data...
directory test/
README
ActsAsNestedSet
==============

This acts_as extension provides Nested Set functionality.  Nested Set is similiar to Tree, but with the added feature 
that you can select the children and all of their descendents with a single query.  A good use case for this is a 
threaded post system, where you want to display every reply to a comment without multiple selects.


Example
=======

  class Product < ActiveRecord::Base
    acts_as_nested_set
  end


Copyright (c) 2007 David Heinemeier Hansson, released under the MIT license