class TaskReference < ActiveRecord::Base
def destroy
# make sure we do not try to destroy non-existing references
super if TaskReference.exists? self
end
end 1 year ago
class TaskReference < ActiveRecord::Base
def destroy
# make sure we do not try to destroy non-existing references
super if TaskReference.exists? self
end
end 1 year ago