On Nov 11, 11:13 pm, "Micheal Cooper" <[EMAIL PROTECTED]> wrote: > I am currently using a very early framework called ERW, and I getting > into Ruby so that I can recreate (with paid help) a very large college > administration db app in Rails. Until relatively recently, I was going > to do this in Django, and one reason for the choice was Django's > excellent feature of automatically generating the basic CRUD forms > (Django calls them admin forms) for a newly-created database. The > framework I am using now also has this feature, though it is overly > complex and difficult to maintain.
The current scaffold generator is RESTful, and builds migrations based on the input you give to the generator. If you are looking to set up your database and then have a generator build the CRUD forms from that database scheme, then you'll want to look at the ActiveScaffold seen in a prior comment. > I want to know if there is a feature in or add-on to Rails that looks > at the database and creates customizable CRUD interfaces for all > tables, including selectable foreign keys and filters, etc. Ideally, > the forms would be scripts that can be filled-out and customized and > only need to be recreated when the database has been changed. > > ERW's admin interface is PHP code that dynamically creates the forms > when you call the script, and customization requires precise and > redundant coding because generic scripts are used to create all the > CRUD forms. For example, all admin list interfaces are done by > list.php, so getting an admin list for table people requires going to > 'list.php?table=people'. > > I am hoping that ROR has a better way. > > -- > Micheal Cooper > Miyazaki, Japan (GMT+9, no DST) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---