Skip to content

Commit

Permalink
fixed readme formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoss committed Oct 13, 2014
1 parent 309adc5 commit c546479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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
Expand Down

0 comments on commit c546479

Please sign in to comment.