I have a problem with creating a database scheme and the according
To describe the situation I made small scribble, because I think that
explains it best.
So I have several pages and each page has many texts, pictures and
assets. So far the models look like this:
Right now i have to query each table (pictures, texts, assets)
seperately to get all the stuff that belongs to ONE page.
What I want to do is just fire one query to get all the items. I
really rack my brain on this one.
Hopefully one of you guys can give me a hint on how to do this.
Thanks for your time,
(note: I posted this to the other Rails Mailinglist, because I did not
know about this one. However this list seems to be the more active