John T. wrote: > Hi, > > 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. -- 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 -~----------~----~----~----~------~----~------~--~---

