README.md in closure_tree-3.8.1 vs README.md in closure_tree-3.8.2
- old
+ new
@@ -11,13 +11,14 @@
[awesome_nested_set](https://github.com/collectiveidea/awesome_nested_set/),
closure_tree has some great features:
* __Best-in-class select performance__:
* Fetch your whole ancestor lineage in 1 SELECT.
- * Grab all your descendants: 1 SELECT.
- * Get all your siblings: 1 SELECT.
- * Fetch all [7-degrees-of-bacon in a nested hash](#nested-hashes): 1 SELECT.
+ * Grab all your descendants in 1 SELECT.
+ * Get all your siblings in 1 SELECT.
+ * Fetch all [7-degrees-of-bacon in a nested hash](#nested-hashes) in 1 SELECT.
+ * [Find a node by path](#find_or_create_by_path) in 1 SELECT.
* __Best-in-class mutation performance__:
* 2 SQL INSERTs on node creation
* 3 SQL INSERT/UPDATEs on node reparenting
* Support for reparenting children (and all their progeny)
* Support for [concurrency](#concurrency) (using [with_advisory_lock](https://github/mceachen/with_advisory_lock))
@@ -422,9 +423,13 @@
Parallelism is not tested with Rails 3.0.x nor 3.1.x due to this
[known issue](https://github.com/rails/rails/issues/7538).
## Change log
+
+### 3.8.2
+
+* find_by_path uses 1 SELECT now. BOOM.
### 3.8.1
* Double-check locking for find_or_create_by_path