Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚在我的表中添加了一个浮点字段,由于某种原因,我在尝试在视图上显示它时不断收到此错误
ActiveModel::MissingAttributeError
有谁知道为什么?我的观点看起来像
%td= item.tax_rate
我知道为什么现在会发生这种情况。我正在对查询进行选择,但没有选择我需要的字段。