0

I'm using impressionist gem to lock the views for different products. I'm also having soft-deletion in my application. When I remove any record/product, its impressions also got deleted.

I just want to keep the impressions and don't want to delete it on Record deletion. Any idea, how i can do it ?

using

ruby 2.2.2
Rails 4.2.4
impressionist (1.5.1)
kashif
  • 1,097
  • 4
  • 17
  • 32

1 Answers1

1

Based on this test it's the expected behaviour.

Now I would try to monkey patch this method in order to remove the destroy dependance.

Community
  • 1
  • 1
rdupz
  • 2,204
  • 2
  • 13
  • 21