thoughtbot/administrate
Documentation suggestion for nested forms - HasOne
Aberta
#1.013 aberto em 25 de out. de 2017
bugdocumentationgood first issue
Métricas do repositório
- Stars
- (5.765 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
It would be useful to explain that in order to have a has_one association in a form, one has to add
has_one :thing
accepts_nested_attributes_for :thing
to the parent model. Saying this because the Field::HasOne already supports nested form and allows the params.