Make HWIA#compact not return nil when no nils
#28138

129043
rwz wants to merge rwz:rwz/hwia-compact into rails:master

We do not currently have an analysis of these two commits