Re: update_attributes method

I imagine the shipping_address and billing_address tables have the same columns? They will most likely have the same behavior which is telling me they should be in the same table and model. This is how I have done it (simplified slightly).

This way a customer has his own set of addresses, he can use the same address for shipping/billing if he wants, or specify two different addresses. He can also have many addresses. I suppose this depends upon how you want the user interface to behave as well.