Hi there, I'm wanting to create an activity when a collection action happens. In my example, the action is drop which deleted all the records from a particular table. I've come up with the following:
PublicActivity::Activity.create key: 'activities.drop', owner: current_user
Is that the best way to go about this when there is no trackable?
Cheers,
Brendon