Re: Model relationship design question.

Andrew Skegg
2008-05-15T01:49:40Z

Ryan Bigg wrote:
> You don''t need the through relationships. It wasn''t clear
to me
> originally
> what he wanted, so I assumed he wanted to see what submissions were made
> by
> the users of a company, and has_many :through came to mind.
>
> Andrew''s solution seems to fit the bill, I think.

What''s more - it''s exactly what maestro777 started with.

I suspect he might be having problems getting the results he wants using
this structure.
--
Posted via http://www.ruby-forum.com/.