groovy 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/groovy/model.rb +2 -2
- data/lib/groovy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af9ef6dd23a84a0887fa26436fb1a3f98112621f25b1088c7e5835706fedefc9
|
4
|
+
data.tar.gz: 4fa395ca4c1f32c3d31df1707a2ee66e2c6fabf0550957962b7d5efa3fd7458c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c6936e830cb7449843a43882cf5895b452806ab61ca7f01c2e7c97ae272d0daeb456a2f4d9c16b5cad52c46b8f9902e851b4e6e9c43d27de1d995bdca44fdbf
|
7
|
+
data.tar.gz: dbde160c35f34339e5f155bea793c0c4fd5671916326a34c9c69efe9e266baffb47ed12e0afe5edd7a1fae5ba46abc7c41cc8957cba511be5ad4f3972df09ed9
|
data/lib/groovy/model.rb
CHANGED
@@ -133,11 +133,11 @@ module Groovy
|
|
133
133
|
end
|
134
134
|
|
135
135
|
def update_all(attrs)
|
136
|
-
|
136
|
+
all.each { |child| child.update_attributes(attrs) }
|
137
137
|
end
|
138
138
|
|
139
139
|
def delete_all
|
140
|
-
#
|
140
|
+
# all.each { |child| child.delete }
|
141
141
|
table.delete { |record| record._id > -1 }
|
142
142
|
end
|
143
143
|
|
data/lib/groovy/version.rb
CHANGED