@Thorsten — I had figured that as well, so I went looking for info on 
that and found out about this neat "model:references" bit you can 
include in the script/generate.

@Klaus — Could you demonstrate?

For example, I was reading a tutorial earlier in which the author 
demonstrated that you can make a Forum "has_many :posts, :through => 
:topics", but you can't make it "has_many :users, :through => :posts", 
because the relationship won't go that deep.

So I wonder if it's even possible for a Forum to have sub-categories 
through categories through sub-forums.
-- 
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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to