[Boulder Ruby Group] ar validations licking the balls
Tony Arcieri
tony at clickcaster.com
Fri Nov 9 16:31:54 EST 2007
Yep, nasty...
There's other races in AR... multiple find_or_create_bys executed quickly
enough will exhibit this same problem and you'll wind up with two records
instead of one.
About the only solution I know if is to use constraints on the table :/
--
Tony Arcieri
ClickCaster, Inc.
tony at clickcaster.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/bdrg-members/attachments/20071109/438ffb72/attachment.html
More information about the Bdrg-members
mailing list