I have a rails application with devise users. I'm trying to run the gamification gem gioco.
In my console I can create events for the users with:
User.first.track_event('Published a post')
and this let me create points in the user dashboard.
that's my print screen Print screen
I want to connect my model publish a post, with the events that I can create in the console, but i don't know how to do this.
Any of you have suggestions for doing that? Thanks!