From: Fabian Marin Date: 2010-07-29T10:43:48+09:00 Subject: Re: tool to compare DB schema against DDL file Robert Klemme wrote: > The key question is: can an AR model represent a DB schema entirely? > What does it tell you about constraints and triggers? Does it cover all > sorts of special indexes as Oracle's FBI's and special types found only > in one RDBMS? > > Kind regards > > robert The answer might be that it cannot, it's a matter of where you put your logic. RoR relies on logic in the AR model even for testing constraints like uniqueness, as far as I know. They themselves admit RoR is opinionated in many respects. I guess such a tool won't be useful for developers that have opted for an architecture strongly reliant on the Database (i.e. using triggers, stored procedures, sequences and so forth). And I do realize I did not state I was looking for open source alternatives. I've looked in Rubyforge, and the ruby gems repository, and have not found much. -- Posted via http://www.ruby-forum.com/.