Skip to content

Commit

Permalink
Merge pull request #300 from awagener/patch-1
Browse files Browse the repository at this point in the history
Fix spelling of 'boundary' in README

[ci skip]
  • Loading branch information
parndt committed Mar 2, 2015
2 parents 3838cee + a2a77ee commit 06a9657
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -63,8 +63,8 @@ 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)
* `left_column`: column name for left boundry data (default: lft)
* `right_column`: column name for right boundry data (default: rgt)
* `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)
* `scope`: restricts what is to be considered a list. Given a symbol, it'll attach “_id” (if it hasn't been already) and use that as the foreign key restriction. You can also pass an array to scope by multiple attributes. Example: `acts_as_nested_set :scope => [:notable_id, :notable_type]`
* `dependent`: behavior for cascading destroy. If set to :destroy, all the child objects are destroyed alongside this object by calling their destroy method. If set to :delete_all (default), all the child objects are deleted without calling their destroy method.
Expand Down

0 comments on commit 06a9657

Please sign in to comment.