• Mehmet Emin INAC's avatar
    Apply model layer validations on ingestion process · 6f07f99f
    Mehmet Emin INAC authored
    With this change, the ingestion service classes are now using the
    `BulkInsertSafe` utility module which validates the records before
    executing the UPSERT queries.
    
    Some of the validations require additional DB calls like the uniqueness
    and presence of associated records therefore we disable them to prevent
    running N+1 queries.
    6f07f99f
finding_signature.rb 960 Bytes