Edge_rails, sqlserver, and an error!


#1

Hello,

Using Edge_Rails and SQL Server I get an error in my schema.rb file
after
issuing “rake migrate”.

database.yml

development:
adapter: sqlserver
database: triage_development
username: user
password: pass
host: server

schema.rb

Could not dump table “categories” because of following

DBI::DatabaseError

EOF

OLE error code:800A0E78 in ADODB.Recordset
  Operation is not allowed when the object is closed.
HRESULT error code:0x80020009
  Exception occurred.

Any ideas? If you need more info, I’ll be happy to supply it.
I probably missed something, but I’m not seeing it.
Thanks for lending an eye!


#2

Hi,

I have also met this error on tables without any index (on relation
tables created by older Rails version). So I have created an unique
index on its keys and the error disappeared.

Regards,
Karel


#3

home equity line of credit