Pro tip of the day: Use ActiveRecord::Base.transaction not yourmodelclass.transaction
This advice will come back to bite you if you ever do sharding or multiple DB connections
-
-
I literally caveated that with multiple DBs bro
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.