Ad
  • Custom User Avatar

    I just realized I don't need the compact when defining cat_and_q. I think I'd also revisit this with a lazy approach, where no work is done until the listOfCat iteration is underway. And then, cache those results, in case listOfCat has repeating entries.

    A regex is probably excessive.

    Find a better way to handle the “ugly hack” case when listOfArt.empty?.