0
內config/locales/
所以,文件en.yml
存在含部分內容如下:Rails i18n鏈接問題?
en:
company:
street: 'x'
我的觀點(最初的ERB溫度)我打電話<%= t(company.street) %>
但是我收到以下錯誤:
undefined local variable or method `company' for #<#<Class:0x007fbbf1544de0>:0x007fbbf121b448>
關於我在哪裏可能會出錯的想法?