28 Mar '13, 9am

#TIL

are protective blocks where SQL statements are only permanent if they can all succeed as one atomic action. The classic example is a transfer between two accounts where you can only have a deposit if the withdrawal succeeded and vice versa. Transactions enforce the integrity of the database and guard the data against program errors or database break-downs. So basically you should use transaction blocks whenever you have a number of statements that must be executed together or not at all.

Full article: http://api.rubyonrails.org/classes/ActiveRecord/Transacti...

Tweets

love this article. I think I'm in both! haha! c[_] :) Morning Person or #Coffee Person? via @CoffeeNate

love this article. I think I'm in both! haha! c...

coffeenate.com 27 Mar '13, 1pm

I’m often categorized as a morning person, because I wake up early. When, in fact, I’m a COFFEE person! Life demands that ...

While reading Wikipedia, #TIL that Singapore minted 5 cent FAO coins in 1971 with the design of a pomfret fish.

While reading Wikipedia, #TIL that Singapore mi...

I’d love to fly back every year, but I can’t get away this summer due to commitments. My adult nephew is coming to visit f...

Our $5.99 .ME super #sale starts today til 3/31/13 23:59 PDT! Use code LUCKYME in honor of St. Patty's Day @domainME

Our $5.99 .ME super #sale starts today til 3/31...

dynadot.com 15 Mar '13, 7pm

...and goes until the end of March! It might just be the luck o' the Irish that put .ME domains on super sale this Saint P...