Ruby-on-rails – Can somebody recommend a good gem for contact handling?


I want to store person / company contacts with addresses and relations. Addresses can have multiple lines for streets, phonenumbers and emails. Would be also nice to have some kind of export feature.

Contacthandling seems like a common task, so i want to know how others are doing this job.

I had a look at the following gems and applications:

Are you using one of the mentioned gems, can you recommend other gems or do you implement this on your own (why and how)?

Best Solution

Address handling is actually a very complex subject. That is the reason there are so many different implementations. Take a look at Martin Fowlers Party, Role Object and Accountability patterns. You might also run into i18n problems, and might want to do decent normalization (with street, zip, city, state, country objects, and structure depending on the country). Then these are all temporal relationships, and your application demands determine how much history to register.

Related Question