Matt Rose
11/30/2006 12:33:00 AM
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
On 25-Nov-06, at 12:33 AM, shawn bright wrote:
> 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