awesome_nested_set 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -496,7 +496,7 @@ module CollectiveIdea #:nodoc:
|
|
496
496
|
else target[parent_column_name]
|
497
497
|
end
|
498
498
|
|
499
|
-
self.
|
499
|
+
self.nested_set_scope.update_all([
|
500
500
|
"#{quoted_left_column_name} = CASE " +
|
501
501
|
"WHEN #{quoted_left_column_name} BETWEEN :a AND :b " +
|
502
502
|
"THEN #{quoted_left_column_name} + :d - :b " +
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: awesome_nested_set
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 2.0.
|
5
|
+
version: 2.0.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Brandon Keepers
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-
|
14
|
+
date: 2011-06-16 00:00:00 -04:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|