[Nitro] Gen Form not working without Og.setup

Fabian Buch fabian at oggu.de
Sun Jun 18 13:47:52 EDT 2006


I just tested gen form which didn't work. After some debugging I had 
the feeling my model wasn't enchanted yet, so I put an Og.setup into 
FormGen.setup method, after the require of my model and it worked.

Did anyone ever test form gen?

I think this is a bug, but I have no solution, since running Og.setup 
creates a new database. As workaround I do an Og.setup with an 
sqlite-store with a database in /tmp.

Any real solution? Or is there a way to enchant a model without 
creating a real database via Og.setup?

Fabian




More information about the Nitro-general mailing list