[Rails] Best Practices question regarding views & controllers

Raphael Schmid
Fri, 03 Mar 2006 10:02:44 -0000

Hi List!

I''m reading the Agile book, as many online articles as I can, but
there''s still some things that are just too hard to answer for
yourself.
In building my application, I often find myself putting code into my
views of which I am not quite certain it belongs there.

Where do you usually draw the line? Is it okay to, say, loop through an
array of hashes that represents table column names and whether they need
a certain colspan and build the table according to that?

Any advice that you might have would be greatly appreciated!

Best regards,
Raphael Schmid

--
Posted via http://www.ruby-forum.com/.