Joined June 2014
·

Gam

Singapore
·
·

Hello,
I didn't need to all this mambo jambo to work with nested_form.
I just submitted an object directly to use as a blueprint to the add link this way:

f.linktoadd 'Add new item', :items, model_object: Item.new

The Item class is a plain Ruby Struct class.

PS: How come your posts are not dated? It's useful, especially when things move so fast like in the Rails community.

Loved that article, helped me a lot, thanks.

Achievements
18 Karma
0 Total ProTip Views
Interests & Skills