Displaying 2 results from an estimated 2 matches for "idmodule".
Did you mean:
  dmodule
  
2006 Jan 28
0
having problems to map a existing schema in model classes
...a project for a company (my first big project in rails).
The company alredy has a database schema, with lots of data, so I don?t
want to change the database schema, but I don?t know how to map some
associations.
 
Example:
 
Table: application
Primary Key: idapplication
 
Table: module
Primary Key: idmodule
Foreign Key: idapplication    References aplicattion: idapplication
 
Table: category
Primary Key: idcategory
Foreign Key: idapplication   References application: idapplication
Foreign Key: idmodule        References module: idmodule
 
An application has manies modules and a module has manies categ...
2006 Jan 28
0
having problems to map a existing schema into model classes
...a project for a company (my first big project in rails).
The company alredy has a database schema, with lots of data, so I don?t
want to change the database schema, but I don?t know how to map some
associations.
 
Example:
 
Table: application
Primary Key: idapplication
 
Table: module
Primary Key: idmodule
Foreign Key: idapplication    References aplicattion: idapplication
 
Table: category
Primary Key: idcategory
Foreign Key: idapplication   References application: idapplication
Foreign Key: idmodule        References module: idmodule
 
An application has manies modules and a module has manies categ...