On second thought, I think you could just use an inner join here? .joins(:signatures)