miletbaker / add_nested_fields

Rails ActionView / RJS Helper to work with dynamically adding removing partials for working with accepts_nested_attributes_for

Home Page:http://www.gotripod.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add_nested_fields_for assumes partial's local variable is 'f'

pbadams opened this issue · comments

I have a partial that uses the local variable "form" instead of "f" which caused add_nested_fields_for to fail.

Changing my partial to use "f" fixed the failure, but forces code refactoring in other files.

you are quite right, I will look into a fix. Thanks for spotting.