Raise an exception when model without primary key calls .find_with_ids