Displaying 1 result from an estimated 1 matches for "domain_with_email_update".
2007 May 16
1
belongs_to trigger on update?
This may be a rails bug, but I can''t figure out how to do attribute
overrides for the attribute created for a belongs_to relationship
I have a simple relationship:
User belongs_to Domain
User has a property email_address which I want to update if Domain is
ever changed
I tried in User
def domain=(new_domain)
super
end
but now the ability to assign new domains is totally