This project is archived and is in readonly mode.
Model objects are falsely marked as not-new after transaction rollback
-
Xavier Noria
Also timestamps are not rolled back, so the new record may have an initialized created_at. (Related to #93 Restore timestamps in model rollback.)
-
Carl Porth
I'm attaching an update to TransactionTest#test_callback_rollback_in_create to expose this bug. Perhaps it will be of use to someone who knows the transaction code well.
-
josh
- State changed from new to stale
- Tag set to 2.0-stable, activerecord, activeresource, tests, transaction
