public
Description: A demo of how to create an app using betternestedset with validations various display options
Homepage:
Clone URL: git://github.com/zilkey/nested_set_demo.git
zilkey (author)
Wed May 14 15:23:05 -0700 2008
commit  0c901a1e07bf4f6f8548002c09a158c8b1da9259
tree    278049bdde983ee078ce298db6d70f0d5e960a0a
parent  d0d4787d2b18fc802e3b8c334da4ff640b451fbe
README.rdoc

Installation

Make sure you have sqlite3 - for mac users with macports just run:

  sudo port install sqlite3
  sudo port install rb-sqlite3

Grab the app

  git clone git://github.com/zilkey/nested_set_demo.git

Start the server (the db is already here - no need to migrate)

This runs off of the betternestedset plugin found at:

  http://opensource.symetrie.com/trac/better_nested_set/

To install this plugin in your app, run:

  script/plugin install svn://rubyforge.org/var/svn/betternestedset/trunk

Figuring out what’s happening

The code has lots of comments in it - particularly the model, migration and helper.