Setting up model for existing database

I have an existing database (Microsoft SQL). I know how to specify the
connection to the database, but how can I generate or write a model that
correpsonds to a table or tables that already exist in the database?
Just by specifying things in a new model that match up to the database?
Has anyone got a pertinent example?
thanks!
alex

Very soon I’ll release a gem called Dr Nic’s Magic Models that will do
that. The codes written and I just need time to wrap it up as a gem.

It will be release at http://magicmodels.rubyforge.org, so check that
site out in a few days.

Cheers
Nic

Dr Nic wrote:

Very soon I’ll release a gem called Dr Nic’s Magic Models that will do
that. The codes written and I just need time to wrap it up as a gem.

It will be release at http://magicmodels.rubyforge.org, so check that
site out in a few days.

Cheers
Nic

Hi Nic
thanks! Sounds excellent. I’ll keep my eyes peeled.
lex

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs