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
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