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.
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
I am hoping that ROR has a better way.
Miyazaki, Japan (GMT+9, no DST)