Hallo,

weil ich öfter im Lauf der Entwicklung kurz schauen will, wie ein Model bzw.
eine DB-Tabelle aufgebaut ist, habe ich mir ein kleines Skript geschrieben,
das mir folgende Infos ausgibt:

$ ./show_model.rb Payment
id                   integer    int(11)      false
betrag               float      float        true
bezeichnung          string     varchar(80)  true
mehrwertsteuersatz   float      float        true
kommentar            text       text         true
datum                date       date         true


so weit , so gut. Aber kann ich sowas eigentlich auch auf einfache Weise mit
Rails-Bordmitteln schon erreichen?

Gruß
-Thomas



--
Thomas Preymesser
[EMAIL PROTECTED]
[EMAIL PROTECTED]
030- 49 78 37 06
0176 - 75 03 03 04
http://thopre.wordpress.com/
http://www.thopre.com/
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug

Antwort per Email an