if users has many profiles and profiles has many schools and schools has 
many teams then the user model would look like 
has_many: profiles
has_many: schools, through: :profiles
has_many: teams, through: :schools, through: :profiles

see what i mean on the third line? the teams through schools should be 
applied to the user model as well as the profiles model?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/3b3452ae-dc39-4512-bf29-23454e13f15a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to