Displaying 2 results from an estimated 2 matches for "thoroughfarenam".
Did you mean:
thoroughfarename
2007 Dec 01
0
mock feed
...", "ISO-8859-2", open(URI.escape
(url)).read).to_s)
section = (doc/"Placemark").first
self.lat, self.lng = (section/"coordinates").text.split('','')
self.town = (section/"LocalityName").text
self.address_1 = (section/"ThoroughfareName").text
end
In my spec for the address model I have as a helper:
def mock_feed
directions = "q=71+av+Parmentier,+75011,+FRANCE&output=xml&key=mykey"
xml = File.read(RAILS_ROOT + "/spec/fixtures/feeds/75001.xml")
@address.should_receive(:open).exactly(1).t...
2010 May 21
0
r83 committed - Making the geocoder pass JSLint
...ministrativeArea.Locality.Thoroughfare !=
null) {
+
if(place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.Thoroughfare !==
null) {
return_location.street =
place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.Thoroughfare.ThoroughfareName;
}
}
@@ -132,7 +132,7 @@
case ''mapquest'':
break;
}
-}
+};
/**
@@ -147,7 +147,7 @@
switch (this.api) {
case ''google'':
- if (address.address == null || address.address == "") {
+ if (address.address === null...