gauge/app/models/conflicts_for_talk.rb
2016-10-13 04:42:18 +03:00

10 lines
160 B
Ruby

class ConflictsForTalk < ApplicationRecord
def self.most
order(conflicts: :desc).first
end
def self.least
order(conflicts: :asc).first
end
end