0
I have an atypical need where several records are imported by lot, these records have no unique identifiers, each record has information about a debt.
I am imagining creating an md5 of each record so there is no duplicity. Of course I would remove the date fields as created_at
and updated_at
.
I thought I’d use the Digest::MD5.hexdigest
where would create a column md5
and before saving would check if there is an identical record.
I want to know if anyone here has ever had a similar challenge and possible solutions to this challenge. Thank you.