ruby on rails - Validate uniqueness of street address -


this general question: if want validate uniqueness of street address , want make sure semantic equalities "drive" , "dr" counted same thing in validate, how/where declare such equalities validation?

you need normalize addresses somehow. recommend geocoder gem google.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -