module RelatesObjectTags
For designating which object a published piece of content is related to. Other objects may also say which objects they are interested in so they can pull in related content.
Public Instance Methods
destroy_all_relationships!()
click to toggle source
# File lib/buweb/concerns/relates_object_tags.rb, line 11 def destroy_all_relationships! Relationship.by_base_object(self).destroy_all Relationship.by_related_object(self).destroy_all end