aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/plugins/rspec/lib/autotest
diff options
context:
space:
mode:
authorfrancis <francis>2007-09-12 15:56:18 +0000
committerfrancis <francis>2007-09-12 15:56:18 +0000
commit35dbd9e483b61011aff96b3297545b5b3bb2686f (patch)
tree5596c8a8dd1391d2636cc02aab75d0cb02e05135 /vendor/plugins/rspec/lib/autotest
parent565fbcbe0e8ef9c3247469168da6705f842cce32 (diff)
Use the other model itself, rather than its id, when saving two models at once,
so that you don't get spurious error. This means if you forget to save the one before the other you are screwed, but hey. Instead of a transaction, just call valid? on both models first.
Diffstat (limited to 'vendor/plugins/rspec/lib/autotest')
0 files changed, 0 insertions, 0 deletions