On my forum I created multiple themes (with different colour schemes and features). I liked the customisation
After a few years, I am now doing a refresh. I want to eliminate the old themes that are poorly utilised and consolidate on just 3 or 4. Is there any easy way of determining which themes are being utilised by my community?
UserOption.where("theme_ids is not null").pluck(:theme_ids)
Better would be to search for where that array is longer than 0, but I don’t know how to do that. This will get you all of them. You can then do something clever to sort and count.