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

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -