change has_one :asset_assignments to has_one :asset_assignment