From 34bb4ffa73d6703596f4e6b413f474fb1140fc2e Mon Sep 17 00:00:00 2001 From: Andrii Tolstokorov Date: Wed, 21 Aug 2019 16:43:53 +0300 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 11e951d5..bbbe218f 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ Run `rake rdoc` to generate the API docs and see [CollectiveIdea::Acts::NestedSe You can pass various options to `acts_as_nested_set` macro. Configuration options are: * `parent_column`: specifies the column name to use for keeping the position integer (default: parent_id) +* `primary_column`: specifies the column name to use as the inverse of the parent column (default: id) * `left_column`: column name for left boundary data (default: lft) * `right_column`: column name for right boundary data (default: rgt) * `depth_column`: column name for the depth data default (default: depth)