search for: _oid

Displaying 1 result from an estimated 1 matches for "_oid".

Did you mean: _id
2005 Dec 28
1
Model from DB generator
...or exist to generate the ActiveRecord model from the database? I wouldn''t mind if it generated parent-child relations always as has_many - belongs_to. The scenario in my case is a database of about 180 legacy tables, with a pattern that the foreign keys use (<parent table name>_OID). These I''d like to wrap in the model as easily as possible without having to type it in all myself, lazy bum that I am *g* Cheers and thanks in advance for any hints and pointers, Florian