[Brug-talk] Technical question
Hans verschooten
hans at verschooten.com
Tue Oct 9 06:24:39 EDT 2007
Hi all,
I've a question that's been on my mind for a while now.
If I have a Model for a House. A house can have many properties that
describe it, the kind of roof, the windows, how many floors,
orientation, ...
Looking at an interface to create or update the house, this would mean
a lot of select boxes.
Now my question is, how would you set this up. Every option a separate
model,for ex a house has_one rooftype. Or is there another way, for
ex. to group all options in one database and then use polymorphic
associations.
What is the common practice for such things? Any tips are appreciated.
Thanks,
Hans
More information about the Brug-talk
mailing list