Modifying a has_many association to include nils
I had this interesting use case come up. We have a multi-tenant app that has an Organization model. An Organization has many BarcodeItem. Originally, the query was direct: We only wanted an instance of Organization to return the barcode_items that … Continued