search for: past_addresses

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

Did you mean: host_addresses
2006 Jan 11
1
ActiveRecord customer model with multiple previous addresses
I would appreciate some advice or ideas on the best way to design my data model for keeping track of multiple addresses for one customer. Each customer should have one active address but I want to keep previous addresses as well. For instance, for each customer it would be nice to see the current address using something like Customer.current_address put also be able to get an array of previous