Commit e49532003d702b0f8cb74bf0ef168af52c6d2664

Authored by Leandro Santos
1 parent e676cf9a
Exists in master

ignore counter cache

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/juventude_plugin/report_job.rb
... ... @@ -44,7 +44,7 @@ class JuventudePlugin::ReportJob < Struct.new(:profile_id, :report_path)
44 44 info.push(proposal.topic.name)
45 45 info.push(proposal.title)
46 46 info.push(proposal.abstract.present? ? proposal.abstract.gsub(/\s+/, ' ').strip : '')
47   - info.push(proposal.comments_count)
  47 + info.push(proposal.comments.count)
48 48 info.push(proposal.followers.count)
49 49 info.push(proposal.votes_for)
50 50 info.push(proposal.cities.map{|c|c.path}.join(','))
... ...