One row, many threads: How to avoid database duplicates in Rails applications Aug 18, 2021 #psql #rails #ruby