try this plugin:
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 Dokkai
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> 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 ?
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---