This is just my taste, but I'd do `where(completed_at: nil).order....`