モデルにはmany_to_manyって書くだけ 中間のテーブルは自分で作る テーブル名は辞書順 class Feed < Sequel::Model # 略 many_to_many :groups end class Group < Sequel::Model # 略 many_to_many :feeds end unless DB.table_exists?(:feeds_groups) DB.create_table :feeds_groups do primary_key :id foreign_key :feed_id, :table => :feeds foreign_key :group_id, :table => :groups end end 参考