アプリケーションをRails3にアップグレードすることを計画しています。私たちがかなり使用したプラグインの1つは、nested_has_many_throughです。このプラグインは古く、メンテナンスされていないようで、新しいRails3アプリケーションでは機能していないようです。
簡単な例:
Author.rb
has_many :posts
has_many :categories, :through => :posts, :uniq => true
has_many :related_posts, :through => :categories
Post.rb
belongs_to :author
belongs_to :category
Category.rb
has_many :posts
誰かがこれを処理するためのベストプラクティスの方法、または動作するRails3プラグインを推奨できますか?
ありがとう!!