# Multiple :through

**URL:** <https://www.ruby-forum.com/t/multiple-through/129743>\
**Category:** Rails\
**Created:** [February 21, 2008, 8:18am UTC](https://www.ruby-forum.com/t/multiple-through/129743 "2008-02-21T08:18:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mokkai](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c2a13f/32.png) [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Post date:** [February 21, 2008, 8:18am UTC](https://www.ruby-forum.com/t/multiple-through/129743/1 "2008-02-21T08:18:59Z")

</div>

we can connect 3 tables using through

how to connect 4 tables using :through=\> ?

for example  
Country -----has\_many— State  
State -----has\_many— City  
City -----has\_many—Street

here we can connect Country-City using through  
how to connect Country-Street ?

---

<div class="post-metadata">

**Author:** ![mokkai](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c2a13f/32.png) [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Post date:** [February 21, 2008, 10:53am UTC](https://www.ruby-forum.com/t/multiple-through/129743/2 "2008-02-21T10:53:11Z")

</div>

try this plugin:

[http://agilewebdevelopment.com/plugins/nested\_has\_many\_through](http://agilewebdevelopment.com/plugins/nested_has_many_through)

though i don’T know if its working with 2.0

On 21 Feb., 08:18, Pokkai D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
