@@ -443,7 +443,7 module CollectiveIdea #:nodoc: | |||||
443 | in_tenacious_transaction do |
|
443 | in_tenacious_transaction do | |
444 | reload_nested_set |
|
444 | reload_nested_set | |
445 | # select the rows in the model that extend past the deletion point and apply a lock |
|
445 | # select the rows in the model that extend past the deletion point and apply a lock | |
446 | self.class.base_class. |
|
446 | nested_set_scope. | |
447 | select("id"). |
|
447 | select("id"). | |
448 | where("#{quoted_left_column_name} >= ?", left). |
|
448 | where("#{quoted_left_column_name} >= ?", left). | |
449 | lock(true). |
|
449 | lock(true). |
General Comments 0
You need to be logged in to leave comments.
Login now