STI, has many, and Controllers

John T. wrote:


I'm trying to change an app I have that right now has this relationship:

Team has many Matches

I also have the appropriate Team and Match controllers, and routes:

  map.resources :matches
  map.resources :teams, :has_many => :matches

I need to add two different types of matches - qualifications and
finals, so I thought STI would
be helpful.

Well, I think I'm just going to add a match_type field to the matches
model/table and just add the right stuff to make that work. Trying to
figure out the routes and controllers just isn't working.

thanks anyway.