diff options
author | Xavier Noria <fxn@hashref.com> | 2008-08-24 02:51:45 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-08-24 14:34:24 +0200 |
commit | e02f0dcc24f871d8429229db4219ee1e93636496 (patch) | |
tree | 7aa5fd6ffb83b5218d9022d6c9772c0857c0813c /railties/test | |
parent | cf28109158054fbab91de2d6d86efe1b40e68d93 (diff) | |
download | rails-e02f0dcc24f871d8429229db4219ee1e93636496.tar.gz rails-e02f0dcc24f871d8429229db4219ee1e93636496.tar.bz2 rails-e02f0dcc24f871d8429229db4219ee1e93636496.zip |
Rollback the transaction when a before_* callback returns false.
Previously this would have committed the transaction but not carried out save or destroy operation.
[#891 state:committed]
Signed-off-by: Michael Koziarski <michael@koziarski.com>
Diffstat (limited to 'railties/test')
0 files changed, 0 insertions, 0 deletions