Rails 3: using non-Active Record objects with form_for

后端 未结 2 705
没有蜡笔的小新
没有蜡笔的小新 2021-02-13 00:36

Is there any documentation, or advice?

2条回答
  •  北恋
    北恋 (楼主)
    2021-02-13 01:08

    You can use Active Model

    Take a look here.

    Look at the source code at Github.

提交回复
热议问题