rails/rails — comment on commit 6a28c512e358a95bbabd24af9d2b0608df787158
File:  line 0
By joevandyk:

I dunno if this will work inside a transaction: https://img.skitch.com/20111019-nceg3b4uye3meaj4pryd9wktqe.png

If there's a postgresql error inside a transaction, it needs to be rolled back to the last savepoint/transaction.