Topic: has many with polimorphic association?
i have a model for Companies, periods and a namespace for departments. so the user submit values for their company departments on each period. for example the production rate on a current perios. the thing is... should i add period id and company id attributes to every model under departments or should i just add the company id and add the period in a new model called companydepartments that accepts each department as polimorphic the period id and the company id. i accepts ideas too