search for: stamtements

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

Did you mean: staements
2006 Jul 22
0
Script to generate Relations
...eeded foreign keys to the db schema (i.e. Post has_many Comments would lead to a migration that adds the field post_id(int) to the comments table). * Automagically insert the :has_and_belongs_to_many statement into the models as needed (other relation types would obviously lead to different stamtements, i.e. for 1:n relations). * Perhaps there should be a script that tears down relations (deleting the columns from the tables and the relation statements in the models). * Do other things that I have not though of. What do you think about this? Please feel free to discuss this (here?)! G...