CloneWars is a Rails gem for adding to your model a facility to query and manage duplicate records.