From: Steve Litt Date: 2006-01-03T00:42:54+09:00 Subject: Re: The "ruby way" to break apart a name? On Sunday 01 January 2006 10:25 pm, Gerardo Santana G�mez Garrido wrote: > We had a similar problem at work. > > In the Spanish speaking world we use two last names: one from the > father's family (apellido paterno) and another from the mother's > family (apellido materno). For the "first name" there's no limit in > the number of names. > > Fortunately for us, the names were stored in the database as: > > I've always wondered about this, both in Spanish names and American hyphenated names. When the mother and father have a baby, does it go like this: baby.apellido_materno = mother.apellido_paterno baby.apellido_paterno = father.apellido_paterno Or is it done like this: baby.apellido_materno = mother.apellido_materno baby.apellido_paterno = father.apellido_paterno I KNOW it can't be this: baby.apellido_materno = mother.apellido_paterno + '-' +mother.apellido_materno baby.apellido_paterno = father.apellido_paterno + '-' +father.apellido_materno If the preceding were done, names would become huge and still growing. SteveT Steve Litt http://www.troubleshooters.com slitt@troubleshooters.com