slim_form_object 1.0.1 → 1.0.2
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/processing.rb +2 -2
- data/lib/slim_form_object/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c5555a1feb3ac6c05f8694427e34b86a37489e3
|
4
|
+
data.tar.gz: d466979fd1fc33540f04439038423685bc4ef4f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 275116ef1c081f8226114193c6dff71d92ef95e5eece3528c43e9dbc61505ed82ce7e7986b5744b3db9063bc69f5b953aa4c76a3ec64d019ed147a43e840004c
|
7
|
+
data.tar.gz: 6a7f43071d80515723f64753842a37a0be8a3b63eddd41c01fe5c1bb082c0651c27f6ed68f579cb1b99337593eee10cf4dc9fcb86722e4656bd27a9c340c7d1e
|
@@ -21,7 +21,7 @@ module SlimFormObject
|
|
21
21
|
|
22
22
|
def not_save_this_model(*args)
|
23
23
|
self.instance_eval do
|
24
|
-
define_method(:
|
24
|
+
define_method(:not_save_this_model) { args }
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
@@ -92,7 +92,7 @@ module SlimFormObject
|
|
92
92
|
end
|
93
93
|
|
94
94
|
def check_array_settings_with_settings
|
95
|
-
define_singleton_method(:not_save_this_model) { [] } unless respond_to?(:
|
95
|
+
define_singleton_method(:not_save_this_model) { [] } unless respond_to?(:not_save_this_model)
|
96
96
|
define_singleton_method(:force_save_if_all_attr_is_nil) { [] } unless respond_to?(:force_save_if_all_attr_is_nil)
|
97
97
|
end
|
98
98
|
|