I am having trouble setting up a relationship using the through option. Say you have the follow: A company has many company branches and facilities. A user must belong to either a company branch or a facility. I just want to set up a relationship for the company that is through both the company branches and facilities. How can I accomplish something similar to: has_many :users, :through => [:company_branches, :facilities] Thanks for your help. -- Posted via http://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---