Rails nested models
hey I asked a question here Rails association help , this person directed me to learn nested attributes here , http://railscasts.com/episodes/196-nested-model-form-part-1 , and here http://ra开发者_如何学运维ilscasts.com/episodes/197-nested-model-form-part-2 . The link_to 's to add fields wont respond to anything I do
I agree with jimworm in that it would be really helpful to see the relevant parts of the code that you are working with. I also want to point out that from those Railscasts Ryan created the nested_form gem which works really well for doing a multi-model form for associated models. I use this gem quite often for my forms.
精彩评论