From: Brian Candler Date: 2010-10-20T19:40:28+09:00 Subject: Re: How to turn off auto commit in rake 0.8.7 zoras wrote in post #955674: > How to turn auto commit off while doing rake version:write and rake > version:bump ? rake doesn't know anything about databases AFAIK. So I guess you're talking about a Rakefile which comes with some other package - in which case, please say what package you're talking about - or your own Rakefile, in which case you can post it. Also, I would expect that a rake task will start a fresh ruby process, which will start a fresh database connection, and drop that connection when it terminates. So if you turn off auto-commit then you may simply find that all your changes are rolled back. -- Posted via http://www.ruby-forum.com/.