active_scaffold_batch 3.2.1 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
data/README
CHANGED
@@ -1,4 +1,9 @@
|
|
1
|
-
ActiveScaffold batch is a gem which adds batch_update, batch_create and batch_destroy actions
|
2
|
-
to ActiveScaffold, which means you can perform operations on more than just one record.
|
1
|
+
ActiveScaffold batch is a gem which adds batch_update, batch_create and batch_destroy actions to ActiveScaffold, which means you can perform operations on more than just one record.
|
3
2
|
|
4
3
|
gem 'active_scaffold_batch'
|
4
|
+
|
5
|
+
In the config block of an activescaffold you can add any of the following lines:
|
6
|
+
|
7
|
+
config.actions.add :batch_create
|
8
|
+
config.actions.add :batch_update
|
9
|
+
config.actions.add :batch_destroy
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<label for="<%= active_scaffold_input_options(column, scope)[:id] %>"><%= column.label %></label>
|
5
5
|
</dt>
|
6
6
|
<dd>
|
7
|
-
<% if batch_create_by_column.to_sym
|
7
|
+
<% if column == batch_create_by_column.to_sym %>
|
8
8
|
<%= active_scaffold_batch_create_by_column column, scope %>
|
9
9
|
<% else %>
|
10
10
|
<%= active_scaffold_input_for column, scope %>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_scaffold_batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 3.2.
|
9
|
+
- 2
|
10
|
+
version: 3.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sergio Cambra
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2013-02-
|
19
|
+
date: 2013-02-19 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
type: :runtime
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
hash: -
|
28
|
+
hash: -225653461
|
29
29
|
segments:
|
30
30
|
- 3
|
31
31
|
- 3
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
requirements: []
|
118
118
|
|
119
119
|
rubyforge_project:
|
120
|
-
rubygems_version: 1.8.
|
120
|
+
rubygems_version: 1.8.23
|
121
121
|
signing_key:
|
122
122
|
specification_version: 3
|
123
123
|
summary: Batch Processing for ActiveScaffold
|