Hi All, I am trying to do something similar and am running into an issue
on it
I have a setup where
Portal has many Programs
program has many users through program_memberships
user has many portals through program_memberships
I am trying to get it so that portal has many users through programs
through program_memberships and that user belongs to portal through the same
so I add has_many :users, :through => :programs to the portal model and
belongs_to :portals, :through => :programs to the user model
I get an internal server error 500 for this one. if I switch user to
has_many :portals I just get a source error.
Is there something that I am missing or that I am thinking about in a
wrong way?
Thanks
Jess
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.