active_scaffold_batch_vho 3.0.5 → 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{active_scaffold_batch_vho}
|
|
8
|
-
s.version = "3.0.
|
|
8
|
+
s.version = "3.0.6"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Volker Hochstein"]
|
|
12
|
-
s.date = %q{2011-03-
|
|
12
|
+
s.date = %q{2011-03-14}
|
|
13
13
|
s.description = %q{You want to destroy/update many records at once with activescaffold?}
|
|
14
14
|
s.email = %q{activescaffold@googlegroups.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -19,7 +19,8 @@ module ActiveScaffold::Actions
|
|
|
19
19
|
end
|
|
20
20
|
when :delete_all then
|
|
21
21
|
do_search if respond_to? :do_search
|
|
22
|
-
|
|
22
|
+
# dummy condition cause we have to call delete_all on relation not on association
|
|
23
|
+
beginning_of_chain.where('1=1').delete_all(all_conditions)
|
|
23
24
|
else
|
|
24
25
|
Rails.logger.error("Unknown process_mode: #{active_scaffold_config.batch_destroy.process_mode} for action batch_destroy")
|
|
25
26
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_scaffold_batch_vho
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 11
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 3
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 3.0.
|
|
9
|
+
- 6
|
|
10
|
+
version: 3.0.6
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Volker Hochstein
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-03-
|
|
18
|
+
date: 2011-03-14 00:00:00 +01:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|