I’m looking for a working tutorial for Rails 3.1 that shows you step-by-step how to create a nested model that’s 3 levels deep.
The “complex forms” screencasts on RailsCasts doesn’t seem to be working, seeing that the code is 4+ years old.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
try looking at these tuts from railscasts(posted january last year)
http://railscasts.com/episodes/196-nested-model-form-part-1
and
http://railscasts.com/episodes/197-nested-model-form-part-2
I did initially have problems with deep nesting, but they all follow the same pattern, checkout the problems i faced with rails 3 below
Problems adding fields in nested form through jQuery form railscasts episode
How to limit nested form fields using jquery not working
hope this helps as deeply nested fields can be tricky at first