Fields_for giving undefined method exception


#1

I’m getting an undefined method exception with the fields_for method.
I’m following the gem examples. The form_for works but when I add
fields_for it breaks.

Are there other examples of how this works anywhere?


#2

Hello,
I am aslo getting the same error regarding undefined local variable or
method. HAve you figured out what went wrong.
Could you please tell me the solution if you have resolved it by now.
Thanks.
Regards,
Anks

Jose wrote:

I’m getting an undefined method exception with the fields_for method.
I’m following the gem examples. The form_for works but when I add
fields_for it breaks.

Are there other examples of how this works anywhere?