Fix for adding has_many relations in the edit view of a resource. I can’t believe this ever worked on the current master ….