how to save nested form attributes to database
- by siulamvictor
I am not really understand how's the nested attributes work in Rails.
I have 2 models, Accounts and Users. Accounts has_many Users. When a new user filled in the form, Rails reported
User(#2164802740) expected, got Array(#2148376200)
Is that Rails cannot read the nested attributes from the form? How can I fix it? How can I save the data from…