Umldumper

I found this rails database visualization thing on the web
http://blog.zmok.net/articles/2006/11/13/visualize-your-rails-schema

I’ve read through the document a few times but couldn’t figure out how
to “tweak the SchemaDumper to generate XMI”. can anyone give any hint
for it?

greatly appreciated!

OK,I think I know how.

Just go to ruby script\console and perform something like

ActiveRecord::UmlDumper.dump(ActiveRecord::Base.connection,File.open(‘foo.xm
i’,‘w’))
foo.xmi will be generated.

Jacquie wrote:

I found this rails database visualization thing on the web
Visualize your Rails schema – /bin/recykl

I’ve read through the document a few times but couldn’t figure out how
to “tweak the SchemaDumper to generate XMI”. can anyone give any hint
for it?

greatly appreciated!