It appears these are not identical as this breaks mu build.  .compact only seems to remove nil from an array where as reject(&:blank?) does "" and [] also.  In this case I am removing [] so i will leave it with reject.