write to rails log when a transaction takes a long time (useful for tracking down lock/wait timeouts) Copyright © 2008-2010 3M. All rights reserved. Released under the MIT license. Authored by Jacob Burkhart.