just in ram

A list of stuff I should remember but never do

Migrations 'Zombie State' and MS SQL

with one comment

Getting ‘Zombie State’ errors with migrations and MS SQL Server? Add the following to your config/enviroment.rb:

ActiveRecord::Base.connection.instance_variable_get("@connection")["AutoCommit"] = false

Written by Justin Ramel

April 4th, 2006 at 1:28 pm

Posted in Ruby on Rails

One Response to 'Migrations 'Zombie State' and MS SQL'

Subscribe to comments with RSS or TrackBack to 'Migrations 'Zombie State' and MS SQL'.

  1. Rake Migrate doesn’t create/modify tables when this is set. I’ve unset this option to get Migrate to work but then set it at the end of the project and call rate schema:dump to fix the schema file

    Anonymous

    4 Oct 06 at 7:05 am

Leave a Reply