1

I am using the acts_as_votable and public_activity gems, and want to remove activities when posts are 'unliked'. The public_activity docs specify using dependent: :destroy... however, there is no model for 'likes', and so there is nothing to destroy. The docs don't seem to include a method for manually removing activity on other actions.

For anyone familiar with the public_activity gem, have you ever run into this issue and how did you solve it?

Holger Just
  • 52,918
  • 14
  • 115
  • 123
Alexdlf
  • 29
  • 6

0 Answers0