aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request.rb
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 /app/models/info_request.rb
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 'app/models/info_request.rb')
0 files changed, 0 insertions, 0 deletions