DBDesigner4 to AR model (script)

Hi list,

I have hacked together a small script to generate an ActiveRecord model
from a DBDesigner 4 (fabForce.net) model file. Take it apart and feed it
the pigs ;).

the article:

and the script:

best of whishes for the new year,
code manufacture & ruby lab at http://www.tua.ch/ruby

Thank you!! This saves me a couple weeks of work!! Any chance of the
reverse – ActiveRecord to DBDesigner4?

Kaspar S. wrote:


M. Edward (Ed) Borasky


My twopennyworth here - a vote for AR2DBD4. With the project I’m
currently working on I started with a BUFD in DB4 and found the script
to generate models from that really useful (although I’m not sure it was
the script mentioned here). Since then I’ve dumped that design and am
working exclusively with models. So it would be nice to have a script
that generated the DBDesigner4 XML so that one could view the overall
schema now and then

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