On 27 May 2014 12:10, Alessandra Pobs <[email protected]> wrote: > Hi Colin, > > Thanks so much for your reply. I did complete the Hartl tutorial, but > it's when I tried to incorporate these nested attributes (which the > tutorial does not include) that I started to have problems. > > Looking through the log, I see that the post request includes > > Unpermitted parameters: user_details_attributes
It is always worth trying google when you get a message you don't understand. Googling for nested attributes unpermitted parameters would likely have pointed you at the fact that you have to explicitly permit attributes that you are posting. Have a look at http://www.sitepoint.com/rails-4-quick-look-strong-parameters/ which should get you going. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsMgW9bR6M6XQr2-dFQ-kexz3oLBfX6xKCq_5Aaa50tMg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

