model for multiple tables

nextpulse
Thu, 06 Sep 2007 17:05:45 -0000

How do I construct a model to map multiple tables?

For example:

table1, table2, table3

The model will represent a join of table1+table2+table3


I did notice there is a join_table for use. But I don''t want to create
separate models for table1, table2 etc since I will never need to
access them.

Essentially a way to encapsulate the diff tables.

thanks.


--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---