Forum: Ruby on Rails DBDesigner4 to AR model (script)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6e32b16ec35070a346dd4e08799589e5?d=identicon&s=25 Kaspar Schiess (Guest)
on 2006-01-10 09:53
(Received via mailing list)
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
to
the pigs ;).

the article:
http://tua.ch/ruby/current.html

and the script:
http://tua.ch/ruby/dbmodel/compute_model.rb

best of whishes for the new year,
kaspar
code manufacture & ruby lab at http://www.tua.ch/ruby
3bb23e7770680ea44a2d79e6d10daaed?d=identicon&s=25 M. Edward (Ed) Borasky (Guest)
on 2006-01-10 16:04
(Received via mailing list)
Thank you!! This saves me a couple weeks of work!! Any chance of the
reverse -- ActiveRecord to DBDesigner4?

Kaspar Schiess wrote:

>http://tua.ch/ruby/dbmodel/compute_model.rb
>
>

--
M. Edward (Ed) Borasky

http://linuxcapacityplanning.com
17d01ff4326c26911481c7a77283b343?d=identicon&s=25 Eric Sloane (Guest)
on 2006-01-10 22:05
(Received via mailing list)
Hi,
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
Cheers,
Eric.
This topic is locked and can not be replied to.