search for: series_typ

Displaying 1 result from an estimated 1 matches for "series_typ".

Did you mean: series_type
2006 Feb 07
0
Newbie question: has_many to multiple classes
...y* Observation TransformedSeries has many TransformedObservation but the problem is that every time I add a new transformation, I need to change my DB schema, etc, and add new code in to DataSet - which I personally believe is inelegant! What I would really like is for the Series to have a field (series_type) which contains the name of the table to look up the Observation in. So, depending on the value in the series_type field, Series would perform *has_many* operations using the Observation table or the TransformedObservation table (or whatever other table). Is there any easy way to achieve this wit...