I want to have some stats from my app,
User can publish post that I call
Idee, and I want to know how many user have publish at least one idee.
I'm assuming that should be something like:
@total_user_active = User.where(idee.size >= 1).count
But this doesn't work.
user who is in table
idee so maybe I should count how much unique
user_id are in this column but how?