开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜