22 Feb '12, 10pm

ActiveRecord::Rollback:

ActiveRecord::Transactions::ClassMethods#transaction uses this exception to distinguish a deliberate rollback from other exceptional situations. Normally, raising an exception will cause the transaction method to rollback the database transaction and pass on the exception. But if you raise an ActiveRecord::Rollback exception, then the database transaction will be rolled back, without passing on the exception. For example, you could do this in your controller to rollback a transaction: class BooksController < ActionController :: Base def create Book .transaction do book = Book .new (params [:book ]) book .save! if today_is_friday? # The system must fail on Friday so that our support department # won't be out of job. We silently rollback this transaction # without telling the user. raise ActiveRecord :: Rollback , "Call tech support!" end end # ActiveRecord::Rollback is the ...

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

Tweets

The case of not leading by example - by Zakiah ...

blog.limkitsiang.com 20 Feb '12, 2am

This type of errant behaviour amongst our uniformed personnel is not altogether unfamiliar, albeit this is the first time ...

An Insider Look At The Coffee Power Rankings @foodrepublic @chantytown @SI_PeterKing

An Insider Look At The Coffee Power Rankings @f...

sprudge.com 23 Feb '12, 12am

Chantal Martineau writes for the Village Voice, Saveur, Imbibe, and a blog called Food Republic, who recently published th...

Australian Sporting Code Punts For Own TLD: The...

domainnews.com 17 Feb '12, 12am

The uniquely Australian sporting code, the Australian Football League, has become the first Australian brand and about ten...

4 key people to look out for at DEMO Asia 2012 | e27

4 key people to look out for at DEMO Asia 2012 ...

e27.sg 23 Feb '12, 1am

Hello there! If you are new here, you might want to subscribe to the RSS feed for updates on this topic. Powered by WP Gre...

Blog- MyIX Website gets a new look #myix

malaysianwireless.com 23 Feb '12, 3am

MyIX (Malaysia Internet Exchange) yesterday announced its revamped website with a new look and feel. MyIX also known as Pe...

What do people look for in a domain registrar?

domainnamewire.com 23 Feb '12, 3pm

Don’t lose my domains, give them to me cheap, and be there to help. We’re going to kick off the results from this year’s D...

[BLOG] CodeRace.Me: @ryancarson Wants You How to Code… and Code Fast! #2ndtweet

[BLOG] CodeRace.Me: @ryancarson Wants You How t...

domain.me 17 Feb '12, 4pm

Have you ever tried to learn HTML but you found it boring? You were probably looking for a little motivation, a little com...

TheBagLady> Get the look: Rihanna's cat eye sunglasses: Last night's Brits was full of winners, in bo... (#fashion)

TheBagLady> Get the look: Rihanna's cat eye sun...

thebaglady.tv 22 Feb '12, 2pm

Last night's Brits was full of winners, in both the singing and fashion departments (there were a few losers too, but lets...

Spring Romance Look (I can also reply comments on now! ^__^) YEYY

Spring Romance Look (I can also reply comments ...

bubzbeauty.com 21 Feb '12, 2am

Today I'll be sharing my current favourite look with you all. I named it 'Spring Romance' with the help of you guys! Thank...

I have a tutorial for uneven lids @danglouie i hav 1 eye double eyelid&another with mono how to i make them look even?

I have a tutorial for uneven lids @danglouie i ...

frmheadtotoe.com 19 Feb '12, 9pm

I'm sure I'm not the only one who deals with this but lately I have had uneven eyelids on a pretty regular basis. For thos...

[NEWS]: First Look: Nike Hyperdunk 2012

[NEWS]: First Look: Nike Hyperdunk 2012

nicekicks.com 21 Feb '12, 4pm

. A Team USA colorway and familiar name reignites Redeem Team nostalgia, while advanced Flywire construction, heel clip lo...

Intel gives deeper look into Ivy Bridge: via @ee_times

Intel gives deeper look into Ivy Bridge: via @e...

eetimes.com 20 Feb '12, 11pm

SAN FRANCISCO – Intel gave its first details public look into Ivy Bridge, the first processors to use its 22 nm tri-gate t...

Marni for H&M complete look book arrives

Marni for H&M complete look book arrives

luxuo.com 21 Feb '12, 6pm

First Look: Marni for H&M Campaign Here's the first look of Marni at H&M campaign, already feeling the excitement.... Sofi...

An Inside Look At How Yahoo! Handles Olympic Games Marketing

An Inside Look At How Yahoo! Handles Olympic Ga...

searchengineland.com 16 Feb '12, 5pm

Last month, I wrote about managing search in a decentralized marketing organization . We covered budgets, goals, alignment...

Developing processor-compatible C-code for FPGA hardware acceleration:

Developing processor-compatible C-code for FPGA...

eetimes.com 11 Feb '12, 8pm

Developing processor-compatible C-code for FPGA hardware acceleration David Pellerin and Brian Durwood, Impulse Accelerate...