RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

NestedHasManyThrough Rails 3.x gem has been released

This gem makes it possible to define has_many :through relationships that go through other has_many :through relationships, possibly through an arbitrarily deep hierarchy. I have just made the gem and applied patches for better Rails 3.x support

Comments

very interesting! now we should test that with this gem included all AR3 tests pass :).

This looks like a handy stopgap solution until the official support for nested HM:T hits in Rails 3.1.

Not to rain on anyone’s parade, but DataMapper has had this functionality for some time now. You can use DataMapper with Rails 3 via dm-rails.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in