Join through associations appropriately and dirty written fields