nosolosoftware/mongoid_userstamp

Feature Request: Add ability to quickly see if user has created any documents

Closed this issue · 2 comments

dja commented

Something like:

current_user.created = true or false

I think you can easily create a relation where you can check the size, or did i understand something wrong?

This shouldn't be done in the userstamp gem. You can add whatever relations you like your user model yourself. (Correct me if I've misunderstood something)