lib/nelumba-mongodb/person.rb
def unfavorite!(activity)
      self.favorites.delete! activity

      self.activities.post!(:verb                 => :unfavorite,
                            :actor                => self,
                            :external_object_id   => activity.id,
                            :external_object_type => 'Activity')
    end
# Remove the given Activity from our list of favorites.
Remove the given Activity from our list of favorites.
Remove the given Activity from our list of favorites .
def unfavorite!(activity)
      self.favorites.delete! activity
      self.activities.post!(:verb                 => :unfavorite,
                            :actor                => self,
                            :external_object_id   => activity.id,
                            :external_object_type => 'Activity')
    end
def unfavorite! ( activity ) self . favorites . delete! activity self . activities . post! ( :verb => :unfavorite , :actor => self , :external_object_id => activity . id , :external_object_type => 'Activity' ) end
Remove the given Activity from our list of favorites.
Remove the given Activity from our list of favorites .
activity