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

Save object without address. #361

Closed ghost closed 10 years ago

ghost commented 11 years ago

Hi!

I've got problem with new user without address. When I try to save user without address I've got:

#<Gmaps4rails::GeocodeInvalidQuery: You must provide an address>
W, [2013-07-15T16:21:33.337097 #14403]  WARN -- : You must provide an address (Gmaps4rails::GeocodeInvalidQuery)

I tried to use this: https://github.com/apneadiving/Google-Maps-for-Rails/wiki/Model-Customization , but it still doesn't work.

How can I resolve this problem?

Michał

UPDATE: Resolve, please remove topic. Thanks!