-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In tests, change child_count cache column to default to 0
Before ====== New records had the children counter cache value of nil. On mysql, update_counter_cache sets nodes with no children to nil. After ===== New records have the children counter cache set to 0 On mysql, update_counter_cache now sets to 0 (was nil) new records set the nodes with no children to have a count of 0. Docs ==== Looks like there is no documentation for the child counter cache. Need to add to the README\
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters