Displaying 1 result from an estimated 1 matches for "eediot".
2007 Aug 02
2
STI functionality, but then with multiple tables
...on''t get posts of type Song, but pure song models instead, with all the
incosistent use as before.
And a relation between Artist and Post where the foreign key lies in
Song is not possible in rails. And I thought by myself "who the fuck
wants to make such a complex database model, the eediot!!"
At this moment I KNEW this is a flawed model too! And I''ve been thinking
and wandering and whining and crying since then. Not knowing how to
elegantly solve this stupid problem of mine.
STI in rails works really nice! It wouldn''t have any of these problems I
just describe...