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
This is a regression reported as rails#25198. As was pointed out, you may use inverse_of as a workaround.
inverse_of
It is planned to be fixed in 5.0.1.