XML Schema (XSD) to Rails ActiveRecord Mapping?
Posted
by Incomethax
on Stack Overflow
See other posts from Stack Overflow
or by Incomethax
Published on 2010-02-23T22:00:49Z
Indexed on
2010/06/08
21:42 UTC
Read the original article
Hit count: 429
I'm looking for a way to convert an XML Schema definition file into an ActiveRecord modeled database. Does anyone know of a tool that happens to do this?
So far the best way I've found is to first load the XSD into an RDBMS like postgres or mysql and then have rails connect to do a rake db:schema:dump. This however, only leaves me with a database without rails Models.
What would be the best way to import/load this xsd based database into rails?
© Stack Overflow or respective owner