My question is … how can i to map all tables existing from a SQL
Server database version 2005 to Rails? I try convert any ASP.NET App
into Rails App.
GGC on ROR wrote in post #971205:
My question is … how can i to map all tables existing from a SQL
Server database version 2005 to Rails? I try convert any ASP.NET App
into Rails App.
If you can switch to PostgreSQL or MySQL, then please do so – your life
will be a lot easier.
But if not, then use ruby-odbc and activerecord-sqlserver-adapter .
Also, if you’re doing anything with foreign key constraints (which you
should!) then check out the marnen-foreigner gem. It’s a fork of
Foreigner with support for MS SQL Server.
What versions of Ruby and Rails are you using? What OS?
Best,
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
Sent from my iPhone