Memory allocation error with add_associated_link

0 views
Skip to first unread message

Les

unread,
Jun 19, 2008, 1:39:31 AM6/19/08
to attribute_fu
Hi all,
I'm trying to use attachment_fu on a model with polymorphic children.
Everything seems to go ok until I add the add_associated_link to my
child form partial. Then the server cranks and cranks and finally dies
with a memory error.

Details in the pastie: http://pastie.org/217806

Has anyone else experienced this?

Thanks,
Les

Les

unread,
Jun 19, 2008, 3:00:11 AM6/19/08
to attribute_fu
Forgot to mention, this is rails 2.1, both on an older attribute_fu
and a copy just pulled from github earlier tonight.

Les

unread,
Jun 19, 2008, 3:08:27 AM6/19/08
to attribute_fu
Ok, solved my own problem in a classic "Duh" moment. I was putting the
add link inside the partial, not outside, so it was going crazy
recursive.
Reply all
Reply to author
Forward
0 new messages