diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 3200952..8f61789 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -9,7 +9,7 @@ class HomeController < ApplicationController end def export - @talks = Talk.all + @talks = Talk.find(:all, from: :halfnarp_friendly) @talk_preferences = TalkPreference.all end diff --git a/app/models/conflict_coefficient.rb b/app/models/conflict_coefficient.rb index cb6df0d..949e42f 100644 --- a/app/models/conflict_coefficient.rb +++ b/app/models/conflict_coefficient.rb @@ -2,7 +2,7 @@ class ConflictCoefficient attr_reader :left, :right, :conflicts def self.all - talk_combinations = Talk.all.map(&:id).combination(2) + talk_combinations = Talk.find(:all, from: :halfnarp_friendly).map(&:id).combination(2) talk_preferences = TalkPreference.all talk_preferences_count = TalkPreference.count