I have Car (table cars) method that has_many owners (table owners). How can I choose all cars, that has no owners (== in the table owners is no one row with respective car’s ID)?
I have Car (table cars ) method that has_many owners (table owners ). How
Share
I would do it as per below in the model….
or to be safe….