Displaying 1 result from an estimated 1 matches for "persons_addresses".
Did you mean:
person_addresses
2006 Jan 09
3
Design Question
...have a person table and this person can have different address types.
One could be Home and the other could be say Office.
Should be model this
Table people
id
fname
lname
Table addresses
id
person_id
addr1
addr2
....
or
Table people
id
fname
lname
Table addresses
id
addr1
addr2
Table persons_addresses
person_id
address_id
Are there any tutorial that explains these concepts?
Any help is highly appreciated.
Thanks
Silvy Mathews
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060109/bf2a8ae0/attac...