Best Ruby ORM for Wrapping around Legacy MSSQL Database?
Posted
by Technocrat
on Stack Overflow
See other posts from Stack Overflow
or by Technocrat
Published on 2010-03-12T09:53:25Z
Indexed on
2010/03/12
9:57 UTC
Read the original article
Hit count: 214
Hi. I found this answer and it sounds like almost exactly what I'm doing. I have heard mixed answers about whether or not datamapper can support mssql through dataobjects. Basically, we have an app that uses a consistently structured database, consistently named tables, etc in MSSQL. We're making all kinds of tools and stuff that have to interact with it, some of them remotely and so I decided that we need to create some common, simple access point to do read/write operations on the MSSQL app since it's API is all C# and other things I despise.
Now my question is if anyone has any examples or projects they know of where a ruby ORM can essentially create models for another application's legacy database by defining the conventions of each model's pkeys, fkeys, table names, etc. Sequel is the only ORM I've used with MSSQL but never to do anything quite like this. Any suggestions?
© Stack Overflow or respective owner