From: "ara.t.howard" Date: 2008-04-14T01:37:13+09:00 Subject: Re: How to check record duplication before saving? On Apr 13, 2008, at 10:16 AM, Frank Tsao wrote: > validates_uniqueness_of :A, :scope => :B cannot work - the concept itself is fatally flawed and can never be made to work using the current process http://drawohara.com/post/18926188 you *MUST* put this constraint in the db unless you really don't care about it. from rails-core on the subject http://www.mail-archive.com/rubyonrails-core@googlegroups.com/msg04584.html regards. a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama