views:

40

answers:

0

Good day! I am a newbie at Ruby on Rails, and part of my previous tasks was to make a dynamic form generator using nested models, as seen in Railscasts 196 and 197 ( http://railscasts.com/episodes/197-nested-model-form-part-2 ). I have successfully implemented it using so. For my current task, however, I need to reproduce the same form model only, not a sub member of a model. The custom link for form removal works, the form addition does not; instead Rails complains of a nil object. Multiple instances of that form would be used to simultaneously make multiple entries on a database of the same model. Any help would be appreciated. Thanks!