How to get at the underlying object inside a Rails form or field_for block?

后端 未结 0 1436
暖寄归人
暖寄归人 2021-02-11 20:56

I can\'t figure-out how to get at the underlying object in a form_for or field_for block.

What I\'d like to do is something like:

<% f.fields_for :chi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题