Where to put data for a render partial rails

Hey there,
i have a partial set aside for a xml based pie chart, i dont want to do
the
array building inside the rhtml file though because afik, it would
violate
mvc. So, if i do a
<%= render :partial => “pie_chart” %>
where do i put the data manipulation function, and variables that i want
to
be displayed in the
_pie_chart.rhtml ?

thanks

This would be better answered on the rails mailing list. My guess
would be that the data manipulation functions would be in the
controller. That’s what it’s there for.

Matt