Displaying 1 result from an estimated 1 matches for "businessaccountmembership".
Did you mean:
business_account_membership
2007 Mar 06
0
:dependent => :destroy_unconditionally?
...should no
longer be respected - if the business account dies, then the rule dies
with it. Only thing is, Rails tries to destroy all those managing
members before destroying the business account itself, because they''re
related like this:
has_many :members, { :class_name =>
''BusinessAccountMembership'', :dependent => :destroy }
I would like to define in this relationship, or somewhere else, that
the dependent members should be destroyed without validating against
my before_destroy
filter :prevent_deletion_of_exclusive_business_account_manager.
Any ideas as to how I would go about d...