Trouble with accepts_nested_attributes_for in Rails 5.0.0.beta3, -api option

后端 未结 5 1876
野性不改
野性不改 2021-01-04 19:28

I am using Rails 5.0.0.beta3, building an API-only app using the -app option on rails new, and I am having trouble with accepts_nested_attributes_for.

In my app, a

5条回答
  •  误落风尘
    2021-01-04 19:50

    This is a regression reported as rails#25198. As was pointed out, you may use inverse_of as a workaround.

    It is planned to be fixed in 5.0.1.

提交回复
热议问题