Verbose Logging

Twitter Icon Linkedin Icon Skype Icon Flickr Icon
RSS
software development with some really amazing hair

Getting rid of transactions for the poor man

» Posted in Programming » Tagged with rails activerecord mysql ruby

A quick post for today.

Want to get rid of transactions from ActiveRecord for something? Here’s a cheap way to do it.

Can't see this Gist? View it on Github!

It only works for MySQL obviously, but you can roll your own if you are on postgres. I’ll make it a bit less crappy and make it a gem or something.

Share/Bookmark
Comments powered by Disqus