slim_form_object 3.3.3 → 3.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slim_form_object/assign.rb +3 -0
- data/lib/slim_form_object/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: ce3b78974679cc29b22f510e32676f1f25a59662b441503ad0ef4bcd1562a88f
|
4
|
+
data.tar.gz: 58611fe0b47550ad918747cdf4ee247ef44c3a5fce7dd2f261a34de9757cb319
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fad6de79c2ea9fd1beff0c3da68f5a25232ea155f55d6a4499e2e46f016fe44a16ca15ce1cf4a3cf81bbc4571d41f59ca9c7c0be5949868e00ca58ef18799f8
|
7
|
+
data.tar.gz: 00e3ad81c740a9d730973e9d7e35efc539316b56b718dd5a3bb70af00c876b0a6e0a2bb5ff59988fa1dec5a34054631486a5c427115bddecca3f65543e760682
|
@@ -44,6 +44,9 @@ module SlimFormObject
|
|
44
44
|
model = get_class_of(key_params, form_object.base_modules[key_params.to_sym])
|
45
45
|
attributes = {}
|
46
46
|
nested = []
|
47
|
+
unless model
|
48
|
+
raise "method get_class_of(#{key_params}, #{form_object.base_modules[key_params.to_sym]}) return nil, maybe set base_module for #{key_params}"
|
49
|
+
end
|
47
50
|
|
48
51
|
value_params.each do |key, value|
|
49
52
|
if is_nested?(value)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slim_form_object
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nerzh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|