fias
fias copied to clipboard
Unknown abbrevation: гп
Got "Unknown abbrevation: гп" exception today, here: https://github.com/evilmartians/fias/blob/master/lib/fias/name/canonical.rb#L7
Using this method to pretty-print fias-object's name, like
def readble
::Fias::Name::Append.append(formalname, shortname).first
end
Am I doing it wrong? Should I add rescue there, or add abbrevation somewhere?
Hi. Probably, it's just new abbrevation? Does it exists in shortnames table within FIAS database itself?
I'm importing only fias_objects table, so cant say exactly if it is in shortnames table, but it definitly exists in objects table. Added rescue for now, because unhandled exception is breaking homepage :) Should we add 'пг' in https://github.com/evilmartians/fias/blob/master/config/synonyms.yml ?