Skip to content
Permalink
Browse files

fixed readme formatting

  • Loading branch information...
dhoss committed Oct 13, 2014
1 parent 309adc5 commit c5464795dd44a1cc5dc6a673e703827e448735d0
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
@@ -91,7 +91,7 @@ API
In the spirit of keeping things simple, Treeify does just a few things:

1. Provides a ```has_many :children``` relationship which is a self-join that allows you to collect the direct descendents of any node.
2. On the flip side, it provides a ``belongs_to :parent``` relationship to get a node's parent, if one exists
2. On the flip side, it provides a ```belongs_to :parent``` relationship to get a node's parent, if one exists
3. The ```roots``` scope, which retrieves all parent records (their ```parent_id``` is null)
4. ```config``` Allows you to pass in custom column names to be retrieved. THIS WILL CHANGE as "config" isn't nearly generic enough to not cause conflicts with other libraries.
5. ```descendents``` Retrieves direct descendents of a node

0 comments on commit c546479

Please sign in to comment.
You can’t perform that action at this time.