jp_prefecture icon indicating copy to clipboard operation
jp_prefecture copied to clipboard

find_code_by_nameで都道府県検索ができない

Open riouruma opened this issue 8 years ago • 0 comments

JpPrefecture::Prefecture.find(name: '東京都')
NoMethodError: undefined method `start_with?' for 1:Integer
from /bundle/gems/jp_prefecture-0.9.0/lib/jp_prefecture/prefecture.rb:131:in `block (2 levels) in find_code_by_name'

riouruma avatar Oct 24 '18 03:10 riouruma