apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

How to Restrict the user to pass wrong address in gmaps4rails 2.0.3 + geocoder + rails 4.0 #398

Closed rajesh2210 closed 10 years ago

rajesh2210 commented 10 years ago

I am using Ruby 2.0 + rails 4.0 + gmaps4rails 2.0.3 + geocoder

View one text box is there for address column. 1)suppose user inserted wrong address (eg:#@#@#@##@,#######,&^%$#%^,SHDJdhsdsdhj,6464646,+-+-/*-/-/) but it is taking some latitude and longitude and showing on the map.

so my question is how to restrict the user to insert the wrong address....

If you any ideas please share.... Thanks

apneadiving commented 10 years ago

geocoder questions are meant to be asked on geocoder, or stackoverflow