Skip to content

Commit 2449029

Browse files
committed
just say no to update_attribute
1 parent d1c5670 commit 2449029

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,12 @@ Yup! [Ilya Bodrov](https://github.com/bodrovis) wrote [Nested Comments with Rail
468468

469469
### Does this work well with ```#default_scope```?
470470

471-
No. Please see [issue 86](https://github.com/mceachen/closure_tree/issues/86) for details.
471+
**No.** Please see [issue 86](https://github.com/mceachen/closure_tree/issues/86) for details.
472+
473+
### Can I update parentage with `update_attribute`?
474+
475+
**No.** `update_attribute` skips the validation hook that is required for maintaining the
476+
hierarchy table.
472477

473478
### Does this gem support multiple parents?
474479

0 commit comments

Comments
 (0)