title: Rails3 nested has_many through question
body: <p>We are planning to upgrade our application to Rails3. One plugin we've used quite a bit is nested_has_many_through. This plugin seems outdated, and no longer maintained, and simply does not appear to be working in a new Rails3 application.</p>
  
  <p>A simple example:</p>
  
  <pre><code>Author.rb
  has_many :posts
  has_many :categories, :through =&gt; :posts, :uniq =&gt; true
  has_many :related_posts, :through =&gt; :categories
  
  Post.rb
  belongs_to :author
  belongs_to :category
  
  Category.rb
  has_many :posts
  </code></pre>
  
  <p>Can anyone recommend the best practice way to handle this, or a working Rails3 plugin?</p>
  
  <p>Thanks!!</p>