lib/globase/base.rb in globase-0.0.1 vs lib/globase/base.rb in globase-0.0.2
- old
+ new
@@ -58,10 +58,10 @@
end
fields_matching = fields_data & fields_mandatory
fileds_missing = fields_mandatory - fields_matching
- errors << "Mandatory fields missing: #{fileds_missing.join(', ')}" if fileds_missing.any?
+ errors << "Mandatory fields missing: #{fileds_missing.join(', ')} for #{self}" if fileds_missing.any?
errors
end
def data_fields
\ No newline at end of file