[Boulder Ruby Group] ar validations licking the balls
ara.t.howard
ara.t.howard at gmail.com
Fri Nov 9 15:58:46 EST 2007
given that this happens to be the case
http://drawohara.tumblr.com/post/18926188
it seems that *any* validation should alter the behavior of
Base#create to force the isolation level - otherwise validations end
up being nothing be a stack of race conditions. sorry if i'm late to
the party but this came as a real surprise to me. at the very least
it seems the docs should have a big fat warning about this or the
code itself should warn when using validations and the client code is
not under a strictly serializable transaction.
how are other's out there dealing with this issue?
kind regards
a @ http://codeforpeople.com/
--
share your knowledge. it's a way to achieve immortality.
h.h. the 14th dalai lama
More information about the Bdrg-members
mailing list