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.
我需要通过方法删除为现有记录生成的隐藏 id 字段fields_for。知道怎么做吗?
fields_for
从文档:
f.fields_for(:comments, :include_id => false)