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
> 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!
--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---