Is the only way to destroy an association of a has_one and belongs_to by setting the FK to nil on the belongs_to object?
rails has_one remove link
2.1k Views Asked by Michael At
2
Is the only way to destroy an association of a has_one and belongs_to by setting the FK to nil on the belongs_to object?
Since I remenber, once you set drop in cascade, you just have to delete the object and it deletes all dependencies.
Hope this helps, Cheers