2

Hey guys, I'm coming from a Zend Framework background, are there any auto form generation tools for models in rails (eg. equivalent to Zend_Form)?

For example, in ZF+Doctrine I can do <?=new Doctrine_Form('User')?> and it will generate the form based off the user model, this is useful for low level dynamic crud admin pages.

So is there anything like this is rails, or is scaffolding the way to go?

balupton
  • 47,113
  • 32
  • 131
  • 182

1 Answers1

2

If you simply need a tool to quickly build admin basic CRUD pages, I'd suggest to use an existing plugin: active_scaffold or the like.

Vika
  • 3,275
  • 18
  • 16
  • Thanks, any idea why Rails went down the scaffolding route, where the PHP frameworks went down the other route? – balupton Dec 08 '10 at 21:44
  • 1
    Not familiar with ZF, but scaffolding rather than dynamically generating means you can easily modify what gets generated. – nfm Dec 08 '10 at 22:15