It looks to me like there is a subtle bug where the geocode assumes the address field is non-nil. Specifically, it looks to me that when it is going to geocode (gmap is nil for example) the gem does a check for address.empty? which throws an exception if address is nil.
If so, maybe it should be checking address.to_s.empty?
It looks to me like there is a subtle bug where the geocode assumes the address field is non-nil. Specifically, it looks to me that when it is going to geocode (gmap is nil for example) the gem does a check for address.empty? which throws an exception if address is nil.
If so, maybe it should be checking address.to_s.empty?
Rails 3.2.13, ruby 1.9.3p429
Here's a quick way to see it:
FWIW my model has
acts_as_gmappable :validation => false