02 May '12, 10pm

use after_commit

Most developers use AR callbacks after_create/after_update/after_destroy to generate background job, expire cache, etc., but they don't realize these callbacks are still wrapped in database transaction, they probably got unexpected errors on production servers. I wrote a post to suggest you that you should use after_commit for those callbacks that no need to execute in one transaction.

Full article: http://www.rubyflow.com/items/7604-use-after_commit

Tweets

How to use Medisave for maternity expenses

thefinance.sg 01 May '12, 10am

You may wish to use your own Medisave, your spouse’s or your parent’s Medisave for hospitalisation expenses. Multiple Medi...

Do you always use your turn signal when changin...

grist.org 01 May '12, 6pm

Drivers are always complaining how craaaazy bike riders are, what with their wanting to “share” the “road” and “biking” in...

7 Simple Deep Linking Tactics You Ought to Use

7 Simple Deep Linking Tactics You Ought to Use

searchenginejournal.com 03 May '12, 1pm

Raise the authority of the entire site – If all you did was optimize and send traffic to your home page (not that you woul...

A real use of GEO-T systems with 100%Priority H...

greenbuildingadvisor.com 03 May '12, 12am

Specifically who has installed systems with the full condensing series DeSuperheater-Priority HW On-Demand that as HVAC-GT...

@lucperkins you don't need to use haml, dude. S...

sinatrarb.com 02 May '12, 2pm

# app running on http://example.com/example get '/foo' do t = %w[text/css text/html application/javascript] request.accept...

The Cost Of Obesity To Fuel Use? One Billion Gallons A Year

The Cost Of Obesity To Fuel Use? One Billion Ga...

greencarreports.com 03 May '12, 5pm

That's before you consider the additional cost to each invidivual consumer--springs, shocks, clutches, torque converters, ...

Cool Ideas to Use Cartoon Character Logo Design...

promotionworld.com 30 Apr '12, 7am

Nicknamed as mr. cartoon, this famous tattoo artist is one of the most famous personalities of Hollywood and his brand mar...

Putting Garbage to Use: Microsoft Will Use Methane Emissions from Landfill Emissions as Fuel

Putting Garbage to Use: Microsoft Will Use Meth...

cleantechnica.com 27 Apr '12, 1pm

Microsoft Biogas Datacenter Plant Microsoft is conjuring plans to power a data center with the renewable fuel emitted by l...

The @NREL met its energy-use targets this yr El...

For its first year of full occupancy, the nation's biggest energy miser—the nearly two-year-old 220,000-sq-ft Research Sup...

use

yawningbread.wordpress.com 01 May '12, 7am

Christopher Tan is a classic example of the journalistic equivalent of regulatory capture. Instead of writing about the mo...

Pecked by the Google Penguin? Use it to your advantage. SEMRush how-to.

Pecked by the Google Penguin? Use it to your ad...

seoquake.com 27 Apr '12, 6pm

So, you checked your rankings this morning, and much to your horror, you’ve taken quite a hit from the Google Penguin upda...

Putting Garbage to Use: Microsoft Will Use Methane Emissions from Landfill as Fuel

Putting Garbage to Use: Microsoft Will Use Meth...

greenbuildingelements.com 03 May '12, 5pm

A writer, producer and director, Meyers is editor and site director of Green Building Elements, a contributor to Clean Tec...