Re: [RDBO] Generating modules with a side of documentation

2007-09-05 Thread Clayton Scott
On 9/5/07, John Siracusa <[EMAIL PROTECTED]> wrote: > All possible inter-class links (fks, rels, etc.) may not exist until > the Loader finishes loading all requested tables, so you need to defer > the creation of your .pm files until then if you need that information > for your POD. To do this,cr

Re: [RDBO] Generating modules with a side of documentation

2007-09-05 Thread John Siracusa
On 9/5/07, Clayton Scott <[EMAIL PROTECTED]> wrote: > I can get the columns from both tables but not the table name. > Previously when generating forms from table definitions I've gotten > around this by actually loading the FK class. I can't in this case > because the class hasn't been generated y

[RDBO] Generating modules with a side of documentation

2007-09-04 Thread Clayton Scott
I've created a custom Metadata class to use with RDBO::Loader so I can have an init_column_name_to_method_name_mapper method to change CamelCase to underscore_separated and strip table names from the front of column names. This worked well but now my method names are not the same as my column name