validates_overlap 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/validates_overlap/overlap_validator.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: 887de1441f7986508de96a9fa513847b67ff47fb
|
4
|
+
data.tar.gz: 98ff051afa57c042628eefa246b48d53717babfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 302740541f1b75fc706bb98e9c26da12c9a2b966842240cca98f0aeeecf1ea801c9849da260453867d373f2d00c06390be87bd955d8253ecb103c088b53b6a33
|
7
|
+
data.tar.gz: 225d5db1e766e50af82cb0ebddc11f79b965ccc12fe8c3ca2d7a3ccd05603c289a4e01d2696245e28696cb7234f5ed3ed809833f0108ed8a2d4fdb431c5e24f8
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.6
|
@@ -189,7 +189,7 @@ class OverlapValidator < ActiveModel::EachValidator
|
|
189
189
|
end
|
190
190
|
|
191
191
|
def is_enum_attribute?(record, attr_name)
|
192
|
-
implement_enum? && record.class.defined_enums[attr_name].present?
|
192
|
+
implement_enum? && record.class.defined_enums[attr_name.to_s].present?
|
193
193
|
end
|
194
194
|
|
195
195
|
def implement_enum?
|