Pete Hodgson wrote: > Hi All, > > I have an interesting Active Record problem and I'm not quite sure what > the cleanest solution is. The legacy database that I am integrating with > has a strange wrinkle in its schema where one logical table has been > 'partitioned' into several physical tables. Each table has the same > structure, but contains data about different items. [...]
Why not create a "wheels" view which combines the data from all the "wheels_for_*" tables, then tie your Wheel model to that? Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---