Skip to content

Commit a809abc

Browse files
committed
Update README.md
Make it a little bit more obvious about where to put the has_closure_tree method in your model
1 parent d34cbbf commit a809abc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ Note that closure_tree only supports Rails 3.2 and later, and has test coverage
7575

7676
Make sure you check out the [large number options](#available-options) that `has_closure_tree` accepts.
7777

78-
Make sure you add `has_closure_tree` **after** `attr_accessible` and
79-
`self.table_name =` lines in your model.
78+
**IMPORTANT: Make sure you add `has_closure_tree` _after_ `attr_accessible` and
79+
`self.table_name =` lines in your model.**
8080

8181
If you're already using other hierarchical gems, like `ancestry` or `acts_as_tree`, please refer
8282
to the [warning section](#warning)!

0 commit comments

Comments
 (0)