lib/socialization/actors/mentioner.rb in socialization-0.5.0.beta3 vs lib/socialization/actors/mentioner.rb in socialization-0.5.0.beta4

- old
+ new

@@ -10,9 +10,11 @@ module Socialization module Mentioner extend ActiveSupport::Concern included do + after_destroy { Socialization.mention_model.remove_mentionables(self) } + # Specifies if self can mention {Mentionable} objects. # # @return [Boolean] def is_mentioner? true