There is no installed system or assistant for this, because, unlike a date picker, which is more complicated than it seems, collecting address information is quite simple. However, if you need to collect address information in your application and attach it to several things, you can use a combination of polymorphic associations, nested attributes, and a general representation.
I gave a basic example and a full explanation in my blog post:
http://kconrails.com/2010/10/19/common-addresses-using-polymorphism-and-nested-attributes-in-rails/
It may seem complicated at first, but it is really very simple. The advantage is that your addresses are the same in all views in your application. And each object with an address has the same setting, even if you change the addresses in the future.
I think this is ultimately what you were looking for. Hope this helps!
Jaime bellmyer
source share