Ruby on Rails Tuesday, December 28, 2010

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
marnen@marnen.org

Sent from my iPhone

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment