News for hackers. Stuff that matters.
Re:Put Callback Logic Into Callback Objects [Rails] by soveran on Thursday March 08, 2012 @09:48AM (#3679875)
You may run into race conditions when two processes end up saving an object with the same hash_id. The check and the object creation should both happen inside a transaction.
Re:Put Callback Logic Into Callback Objects [Rails] by nagnatron on Thursday March 08, 2012 @12:20PM (#3680607)
Good point. Thanks.