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

后端 未结 0 1243
余生分开走
余生分开走 2021-02-11 20:44

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         


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