Bill Katz
2005-Jul-26 00:01 UTC
[ANN] dbmodel - A gem for generating Rails files from DBDesigner
dbmodel is a tool to generate Rails files (models, scaffolds) from a free graphic database design tool, DBDesigner 4. You can create tables in DBDesigner, specify table relations, synchronize the model with a MySQL database, and then use dbmodel to automatically generate code. Table relationships like "has_many :beers" are inserted into the appropriate model files if they aren''t already there. (dbmodel is non-destructive, hopefully.) dbmodel version 0.1.0 is available as a gem (http://www.billkatz.com/gems/dbmodel-0.1.0.gem). This is my first exercise in building a gem, or a non-toy Ruby application for that matter, so suggestions/tips are very welcome. The idea for dbmodel fell naturally out of the DRY principle. I''m releasing early in the hopes of sparking brainstorms on how to graft nice front-end tools to the very coder-friendly Rails framework. Then we''ll have the best of both worlds: nice design tools and easy-to-read code when drilling down into programs. Two screenshots and the README rdoc are available at my blog entry: http://www.billkatz.com/rails_dbmodel -Bill
Sam Mayes
2005-Jul-26 01:51 UTC
Re: [ANN] dbmodel - A gem for generating Rails files from DBDesigner
has any got dbdesigner to run on osx? Sam On 7/25/05, Bill Katz <billkatz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> dbmodel is a tool to generate Rails files (models, scaffolds) from a > free graphic database design tool, DBDesigner 4. You can create tables > in DBDesigner, specify table relations, synchronize the model with a > MySQL database, and then use dbmodel to automatically generate code. > Table relationships like "has_many :beers" are inserted into the > appropriate model files if they aren''t already there. (dbmodel is > non-destructive, hopefully.) > > dbmodel version 0.1.0 is available as a gem > (http://www.billkatz.com/gems/dbmodel-0.1.0.gem). This is my first > exercise in building a gem, or a non-toy Ruby application for that > matter, so suggestions/tips are very welcome. The idea for dbmodel > fell naturally out of the DRY principle. I''m releasing early in the > hopes of sparking brainstorms on how to graft nice front-end tools to > the very coder-friendly Rails framework. Then we''ll have the best of > both worlds: nice design tools and easy-to-read code when drilling > down into programs. > > Two screenshots and the README rdoc are available at my blog entry: > http://www.billkatz.com/rails_dbmodel > > -Bill > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Bill Katz
2005-Jul-26 03:03 UTC
Re: [ANN] dbmodel - A gem for generating Rails files from DBDesigner
I think it will be soon. The successor to DBDesigner, MySQL Workbench, is supposed to be out this year. Here''s the only news: http://forums.mysql.com/read.php?35,26929,29633#msg-29633 The other MySQL tools like Administrator and Query Browser are available for Mac OS X, so I imagine Workbench will be as well. On 7/25/05, Sam Mayes <codeslave-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> has any got dbdesigner to run on osx? > > Sam