[Rails] Best Practices question regarding views & controllers

Charlie Bowman
Fri, 03 Mar 2006 15:30:00 -0000

I agree.  If I have to do something more than once, it becomes a helper.

On Fri, 2006-03-03 at 14:11 +0000, Kevin Olbrich wrote:

> I tend to put code in views that only affects the display of the data
> and which relates to the rendering of links, buttons, etc.
>
> I will frequently take ugly code and turn it into a helper or model
> method just to keep things clean and reusable.
>
> _Kevin


Charlie Bowman
http://www.recentrambles.com
-------------- next part --------------
An HTML attachment was scrubbed...