mssqlclient, id -> Itemnumber, System.IndexOutOfRangeException

Hey there :slight_smile:

I have this small issue with trying to get Rails to work with a legacy MS SQL database. I've setup the mssqlclient adapter correctly (can create models), and I'm now trying to create an Item MVC from an "Item" table in the legacy database schema. My Item.rb model looks like this:

Okay, it seems the problem was with mssqlclient, ado.rb works like it should. Now I just have to figure out how to create "belongs_to", "has_many", etc. when not using auto_incremented ids :slight_smile:

Cheers!

Daniel