# Edge Rails Nested has\_many :through Association

**URL:** <https://www.ruby-forum.com/t/edge-rails-nested-has-many-through-association/190314>\
**Category:** Rails\
**Created:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/edge-rails-nested-has-many-through-association/190314 "2010-06-17T16:22:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Randuin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@Randuin](https://www.ruby-forum.com/u/Randuin)\
**Post date:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/edge-rails-nested-has-many-through-association/190314/1 "2010-06-17T16:22:48Z")

</div>

So this functionality isn’t supported natively in Rails 3 (or any  
versions before that for that matter) But I had found a work around  
via this blog post:  
[http://geoff.evason.name/2010/04/23/nested-has\_many-through-in-rails-or-how-to-do-a-3-table-join/](http://geoff.evason.name/2010/04/23/nested-has_many-through-in-rails-or-how-to-do-a-3-table-join/)

This didn’t work on Rails 3 because it wasn’t able to properly build  
the query from the join with symbols. I was however, able to get it to  
work using a singular symbol for the model relation to the child, and  
then manually writing the SQL from the next nest up. Is this the most  
efficient way to go? Or am I missing something here?
