module ActAsBuddy::Buddeable::ClassMethods
Class methods that add the relations to the class on which ac_as_buddy is called.
Public Instance Methods
act_as_buddeable()
click to toggle source
# File lib/act_as_buddy/buddeable.rb, line 15 def act_as_buddeable has_many :buddy_mappers, :foreign_key => "buddeable_parent_id", :as => :buddeable include ActAsBuddy::Buddeable::InstanceMethods include ActAsBuddy::Util end