srogers / conferences

Conferences / speakers / presentations manager
1 stars 0 forks source link

Bug in presentations count #485

Closed srogers closed 3 years ago

srogers commented 3 years ago

Error in production related to changes in #441

NoMethodError: undefined method `group' for nil:NilClass

app/controllers/concerns/presentations_chart.rb:111:in `topic_count_data'
    data = @presentations.group('tags.name').count(:all)
  app/controllers/presentations_controller.rb:72:in `chart'
    @presentations = topic_count_data.sort_by{|topic,count| count }.reverse

(67 additional frame(s) were not displayed