Michael Cooney

Results 2 comments of Michael Cooney

I might be misunderstanding, but won't `validates_uniqueness_of` do a select before an insert regardless of whether an index exists, or what kind of index might be there? Are you referring...

Yeah, there is a preexisting uniqueness validator that used a composite unique key. We reindexed our table to make the primary key equivalent to that unique key and we saw...