# Schema.rb parser available?

**URL:** <https://www.ruby-forum.com/t/schema-rb-parser-available/191156>\
**Category:** Rails\
**Created:** [July 6, 2010, 5:54pm UTC](https://www.ruby-forum.com/t/schema-rb-parser-available/191156 "2010-07-06T17:54:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomtt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47c2d/32.png) [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Post date:** [July 6, 2010, 5:54pm UTC](https://www.ruby-forum.com/t/schema-rb-parser-available/191156/1 "2010-07-06T17:54:44Z")

</div>

hi, is there a parser avaliable to create all MVC-files based on the  
schema.rb or an exisiting db?  
thx

---

<div class="post-metadata">

**Author:** ![tomtt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47c2d/32.png) [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Post date:** [July 6, 2010, 6:01pm UTC](https://www.ruby-forum.com/t/schema-rb-parser-available/191156/2 "2010-07-06T18:01:06Z")

</div>

Tom T. wrote:

> hi, is there a parser avaliable to create all MVC-files based on the  
> schema.rb or an exisiting db?  
> thx

You’re asking the impossible. The Ruby classes cannot be reliably  
deduced from the database schema alone. Human thought is necessary  
here.

Best,  
–Â  
Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

Sent from my iPhone
