Closed karlosmid closed 11 years ago
Hi @alexrabarts , when you search by name: IsoCountryCodes.search_by_name('Cocos (Keeling) Islands')[0].alpha2 exception is thrown IsoCountryCodes::UnknownCodeError: No ISO 3166-1 codes could be found searching with name 'Cocos (Keeling) Islands'. Name is defined in this line https://github.com/alexrabarts/iso_country_codes/blob/master/lib/iso_country_codes/iso_3166_1.rb#L259
Regards, Karlo.
Thank you. Fixed in v0.4.2, available now on rubygems.org.
Hi @alexrabarts , when you search by name: IsoCountryCodes.search_by_name('Cocos (Keeling) Islands')[0].alpha2 exception is thrown IsoCountryCodes::UnknownCodeError: No ISO 3166-1 codes could be found searching with name 'Cocos (Keeling) Islands'. Name is defined in this line https://github.com/alexrabarts/iso_country_codes/blob/master/lib/iso_country_codes/iso_3166_1.rb#L259
Regards, Karlo.