Acts_as_taggable and deleting tags

with act_as_taggable plugin, anyone know how to make tags dependent on
the model
they’re tagging, so the tags are deleted if the model is? i see that
taggings
are deleted, but the tags themselves aren’t.

in acts_as_taggable.rb, i tried changing this line:
has_many :tags, :through => :taggings

to mirror the has_many definition for taggings, like so:
has_many :tags, :through => :taggings, :dependent => true

didn’t work, though. any suggestions?

john


John McGrath


This message was sent using IMP, the Internet Messaging Program.