Lance,

I commend you on taking this on. This has been a huge pet peeve of  
mine over the years, and only very expensive commercial solutions were  
available to even do a fraction of the things necessary to manage  
mailing addresses.

Have you thought about also creating parsers to help identify what the  
address is, and which formatter to use? (like, identify which state/ 
province and country, then determine the rules around parsing and  
formatting)

Also, I find that I often work with addresses that were inputted in  
odd ways, and requires me to "scrub" them a lot. There are very  
expensive commercial solutions for this, but no good open source  
solutions, and especially no Ruby ones. Thought about putting in some  
basic scrubbing rules as well (and possibly address verification  
services)?

I'll keep an eye on Snail, and help where I can.

-Kevin


On Jul 15, 2009, at 5:17 PM, Lance wrote:

>
> Howdy --
>
> I couldn't find any existing libraries to help format international
> mailing addresses. Turns out it's rather tedious. Not only do
> different countries have different names for the components of an
> address, but many countries have different formats for the city line.
> And then there's Great Britain, er England, er ... yeah.
>
> So I've started work on a plugin called Snail. My dream is that it
> will grow to encapsulate the rules of international address formatting
> and basic validation. It's just quite a lot for any one person.
>
> The first release is up on GitHub at http://github.com/cainlevy/snail.
> If your application has anything to do with addresses, and you think
> it may need to go international, I hope you'll check it out!
>
> -Lance
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to