I found a bug in the primary key detection code. It appears this
code is only looking at for a column that is an identiy. However, some
of my tables have primary keys which are not also identity.
I forked the repo and made my patch here:
http://github.com/kenglishhi/activerecord-sqlserver-adapter/
Kevin