dynamic_scaffold 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dynamic_scaffold/controller.rb +4 -0
- data/lib/dynamic_scaffold/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c78d85fe028cf2f3a8d6dbb2535c1763cb44af9dbd23e8f2c209900cb697c5b
|
4
|
+
data.tar.gz: ba48a0bb59375db1313e69510a300df75b2e219df6da94a19033e122742b9644
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bb514fae7e68f907888a1e0d3642cb1b2991f66c5ed4be7397180e6cc58b8e82bf4e37cc16400eb6f0201ad216fb9a7e5e6dc7a9d5bd94959b82dc6b96c7551
|
7
|
+
data.tar.gz: 6b2d83755e283de98609d4ec9bf25a8dde3a8fc5a2160a9c6770b2673eec0c15d01022138e8f38daf5601a4cebff8cce5dce5bcc9e1be89987f402daa7d9bc0c
|
@@ -89,6 +89,10 @@ module DynamicScaffold
|
|
89
89
|
|
90
90
|
datetime_select_keys << k = match[1]
|
91
91
|
end
|
92
|
+
|
93
|
+
# globalize
|
94
|
+
next [:translations_attributes, @record.translations] if k == 'translations_attributes'
|
95
|
+
|
92
96
|
[k, @record.public_send(k)]
|
93
97
|
end.compact.to_h.with_indifferent_access
|
94
98
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynamic_scaffold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masamoto Miyata
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: classnames-rails-view
|