Deleting is_impressionable model objects
Deleting is_impressionable model objects is leaving orphaned records in the Impressions table
same problem here, solved using:
has_many :impressions, :as => :impressionable, :dependent => :destroy
on each model but it would be nice if impressionist would take care of it
I am planning on pushing an update to impressionist sometime next week with a fix for this and a few other features related to impression counts on the model. francesc, thanks for sharing your solution. If you have tests for this, can you fork and submit a pull request?
Done. See issue #16 (I didn't know how to add the pull request to this issue),