Я думаю, что вы хотите присоединиться, кстати. Попробуй:
class Duel < ActiveRecord::Base
has_many :duel_shots
named_scope :blah,
:select => 'duels.*, count(duels.id) shots_count',
:joins => :duel_shots,
:group => 'duels.id',
:having => '(duels.shots = 1 AND shots_count >= 2) OR (duels.shots = 3 AND shots_count >= 6)'
end