helpers do
  def get_score(voteable)
    votes = voteable.votes
    votes.reduce(0) do  |sum, vote|
      sum += 1 if vote.value
      sum -= 1 if !vote.value
      sum
    end
  end

  def get_type(voteable)
    voteable.class.name
  end
end

helpers do
  # def get_score(voteable)
  #   votes = voteable.votes
  #   votes.reduce(0) do  |sum, vote|
  #     sum += 1 if vote.value
  #     sum -= 1 if !vote.value
  #     sum
  #   end
  # end

  def get_type(voteable)
    voteable.class.name
  end
end

Comment out get_score method from helpers
Comment out get_score method from helpers
