Aaron Patterson
|
949c7e2d0e
|
fisting after_rollback and after commit callbacks
|
2010-08-20 00:06:49 -07:00 |
|
Santiago Pastorino
|
8010e4f476
|
assert_equal here
|
2010-08-16 19:09:23 -03:00 |
|
Tobias Lütke
|
cb9295c8a1
|
Added test case to verify that transaction callbacks are correctly propagated to class observers
|
2010-08-09 21:36:06 -04:00 |
|
Subba Rao Pasupuleti
|
b0c7dee4f2
|
removing unused models from tests
[#5153 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-07-21 22:08:07 +02:00 |
|
Brian Durand
|
237165feb3
|
Fix bug with rolling back frozen attributes.
[#2991]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2010-06-18 15:11:17 -07:00 |
|
Jeremy Kemper
|
b070739240
|
Revert "Temporarily revert "Update after_commit and after_rollback docs and tests to use new style API with an :on options instead of on_* suffix." and "Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction.""
This reverts commit 1b2941cba1 .
[#2991]
|
2010-06-08 17:05:29 -04:00 |
|
Jeremy Kemper
|
1b2941cba1
|
Temporarily revert "Update after_commit and after_rollback docs and tests to use new style API with an :on options instead of on_* suffix." and "Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction."
This reverts commits d2a49e4b1f and da840d13da .
[#2991]
Conflicts:
activerecord/CHANGELOG
activerecord/lib/active_record/transactions.rb
activerecord/test/cases/transaction_callbacks_test.rb
|
2010-06-08 14:56:08 -04:00 |
|
Santiago Pastorino
|
715f7c0b7c
|
Fixes a test on transaction_callbacks_test.rb
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-05-19 12:59:47 +02:00 |
|
Santiago Pastorino
|
03c3d1eb84
|
Fixes transaction callbacks tests
[#4640 state:committed]
Signed-off-by: wycats <wycats@gmail.com>
|
2010-05-18 19:32:37 +04:00 |
|
Paco Guzman
|
c2fb8afaa0
|
Use assert_equal correctly in transaction callback tests (exposing some of them as broken)
[#4612]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2010-05-17 07:16:53 -07:00 |
|
Brian Durand
|
d2a49e4b1f
|
Update after_commit and after_rollback docs and tests to use new style API with an :on options instead of on_* suffix.
[#2991]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2010-04-29 18:26:19 -07:00 |
|
Brian Durand
|
da840d13da
|
Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction.
[#2991 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2010-04-29 12:24:15 -07:00 |
|