Interesting Things
Pivotal Tracker tip: as the Holiday Season approaches, you can edit your Team Strength to account for vacationing team members. For example, if you are missing 1 out of a team of 4 next week, set next week’s Team Strength to 75%

Rescuing inside a transaction: ActiveRecord relies on catching a Rollback error in order to perform transaction rollbacks. If you are performing a
begin..rescueblock within a transaction, make sure you either (a) specify the Exception or Errors you want to catch, or (b) re-raise the Rollback error if caught.Bring it! The Pivot Pong Tournament of Champions is on! Games will be played on the Pivotal breakfast tables/ping pong table.

Ask for Help
“What is the life-cycle of test fixtures when using transactional fixtures?”
- The testing framework clears the database of all data within tables that have fixtures files defined.
- A test/spec file is loaded and all fixtures declared within it (or all if
fixtures :allis declared) are loaded into the database. - A transaction is started.
- The test/spec runs.
- The transaction is rolled-back.
- Repeat!
Re: Rescuing inside a transaction
Option (c) might be to move the rescue outside the transaction if it doesn’t need to be in there. This is what we ended up doing.
November 21, 2008 at 5:32 am