From: John Mcleod Date: 2010-02-05T04:53:58+09:00 Subject: Re: Finding duplicate records before creating using FasterCS > And follow that up with a unique index in the DB. Validations are > insufficient by themselves. > The index is very unique. For example, YY-XXXXabc "YY" = year without century, "XXXX" is an incremental integer and "abc" could be a 1,2 or 3 letter combination. John -- Posted via http://www.ruby-forum.com/.