How do I use nested attributes with the devise model

前端 未结 3 1601
情深已故
情深已故 2020-12-07 21:35

I have the same issue as Creating an additional related model with Devise (which has no answer).

I have overridden the devise view for creating a new user and added

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-07 22:10

    You may be trying to mass assign some protected variable, OR you might not be saving a valid record. Check to make sure that the record is actually saving to the db.

提交回复
热议问题