def likes
      verbs_of_interest = %w[like unlike]

      query = Activity.joins(:verb)
                      .with_actor_id(id: guid)
                      .with_target_id(id: nil)
                      .merge(Verb.with_display_name(name: verbs_of_interest))

      @likes ||= query.group(:activity_object_id).having("COUNT(1) % 2 == 1")
    end
def likes
      verbs_of_interest = %w[like unlike]

      query = Activity.joins(:verb)
                      .with_actor_id(id: guid)
                      .with_target_id(id: nil)
                      .merge(Verb.with_display_name(name: verbs_of_interest))

      @likes ||= query.group(:activity_object_id).having("COUNT(1) % 2 == 1")
    end
A list of activities the user likes

 @example
   current_user.likes

 @return [ActiveRecord::Relation]