Found depenent model removal bug?

1 view
Skip to first unread message

illusina

unread,
Nov 27, 2008, 12:20:19 AM11/27/08
to attribute_fu
Hello everyone,

Did a little bit more poking around to try and solve the issues I was
having and I found that reverting to rails 2.1.0/a_f revision
http://github.com/giraffesoft/attribute_fu/commit/254728ee063c067c93624c1a1937084ed09a77b7
made deletions of associated models work properly (the associated
models were deleted from their table), though an extra form is always
rendered whenever add_associated_link "add", object.dependent.build is
run, even if you don't click it (as per my previous posts). Therefore
it appears http://github.com/giraffesoft/attribute_fu/commit/9e8e07b21cdbe0b029bdca5c54373a95582c0d85#diff-0
is what broke this particular feature. I hope this helps someone
trying to deal with using a_f with recent versions of rails.

- Tyler
Reply all
Reply to author
Forward
0 new messages