embeds_many-embedded_in 関係のフォームを作成する簡単な方法はありますか? 私は次のものを持っています:
class Team
include Mongoid::Document
field :name, :type => String
embeds_many :players
end
class Player
include Mongoid::Document
embedded_in :team, :inverse_of => :players
field :name, :type => String
end
プレーヤー用の編集が組み込まれたチーム用のフォームを作成したいと考えています。https://github.com/bowsersenior/formtastic_with_mongoid_tutorialが表示されますが、「TODO」があります。