slim_form_object 3.3.11 → 3.3.12
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/validator.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76b135f3de879f5c651c0a14b0a94de0c6f86510f4407bfb3f7fdf0938ae15aa
|
4
|
+
data.tar.gz: 5eb62c96a99cf4da353514bfe1a9d03a1034c7671b41b87476489ced74561608
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfa469e54cc8aa1813ac9a6eeaa738243ee8772ba9415b8ad884579284682293ed5cc9508ed43ca8a51d5f33ea68a533fd16eab6c65da106c4b13db5152cd1e9
|
7
|
+
data.tar.gz: 277bacc06051955fc32550a2b4d512a7359b6a8f8ad6b16b2ed92bf705a76deafb2480c88900fc4fc8bb49e6d79834a8845c9b5a8360d17185aa05aa2804628d
|
@@ -14,8 +14,8 @@ module SlimFormObject
|
|
14
14
|
form_object.after_validation_form_block.call(form_object)
|
15
15
|
end
|
16
16
|
|
17
|
-
def allow_to_save_object?(object)
|
18
|
-
form_object.allow_to_save_object_block.call(object)
|
17
|
+
def allow_to_save_object?(object, form_object)
|
18
|
+
form_object.allow_to_save_object_block.call(object, form_object)
|
19
19
|
end
|
20
20
|
|
21
21
|
def allow_to_validate_object?(data_object)
|