morse_fields_validator 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fe06e2f9e200c95292fa20ee2ecd24c6e443d5b
|
4
|
+
data.tar.gz: 80569b8ced1ae3ca88e586239e82afbc13ad6e1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20d903d3de3618412f1c94b00e3b8d8b8552458cd58992fb7575a505ceb2ba8cd06ccf77e0cb75787465d2bee531e6e73b6512916202cfa5c9fe4ca2f110dbac
|
7
|
+
data.tar.gz: 14c1e07cbc593da2c0bc01357b47792a2a2772b1f98384dc758862e68f43a774c2158c3c749b79d33879a106ff8fb5c2cfa2a6ad44e03ae3083f7df80f2984e2
|
@@ -26,6 +26,6 @@ module FieldsValidator
|
|
26
26
|
private
|
27
27
|
|
28
28
|
def validate_column_names
|
29
|
-
required_database_fields.each { |rdf| errors_add(rdf, "does not have a column in the database.") unless self.class.column_names.include?(rdf)} if required_database_fields.any?
|
29
|
+
self.class.required_database_fields.each { |rdf| errors_add(rdf, "does not have a column in the database.") unless self.class.column_names.include?(rdf)} if self.class.required_database_fields.any?
|
30
30
|
end
|
31
31
|
end
|