Displaying 1 result from an estimated 1 matches for "transformedobserv".
2006 Feb 07
0
Newbie question: has_many to multiple classes
...need to apply a transformation
to each Observation. The transformed data hasn''t lost anything, and it
still comes in Series which belong to a dataset.
One option would be
DataSet *has_many* Series
DataSet has many TransformedSeries
Series *has_many* 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 u...