i18n_scaffold_controller_template 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b83a51450873df3a897d50ebfc83fa9df0f7f007
|
4
|
+
data.tar.gz: 3a6e662d8c39267798b8be44a5fa43ae0dd405c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e49a8b1ba0ca62282692f016213cfccaa344df2a8fe097f02516d970c41b38953f8f41b730eae57e6b4d3eb5a3f8a49b5e9da92a3467b619fb276e29c9526f2b
|
7
|
+
data.tar.gz: 03a1b1a400717a954a12bdecbd591961394d3b86f526dac06e33c9ed7e1a5bc3b87c05b709345c0ecab0cad654a83aa7f6e3626165350806e6fb6bb2a74b86ce
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.4
|
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: i18n_scaffold_controller_template 1.0.
|
5
|
+
# stub: i18n_scaffold_controller_template 1.0.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "i18n_scaffold_controller_template"
|
9
|
-
s.version = "1.0.
|
9
|
+
s.version = "1.0.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
@@ -89,7 +89,7 @@ class <%= controller_class_name %>Controller < ApplicationController
|
|
89
89
|
list = [
|
90
90
|
<%= attributes_names.map { |name| ":#{name}" }.join(', ') %>
|
91
91
|
]
|
92
|
-
params.require(<%= ":#{singular_table_name}" %>).permit(list)
|
92
|
+
params.require(<%= ":#{singular_table_name}" %>).permit(*list)
|
93
93
|
<%- end -%>
|
94
94
|
end
|
95
95
|
end
|