search for: produce_list

Displaying 1 result from an estimated 1 matches for "produce_list".

2008 Feb 22
12
DRY - in controller or model????
Hello. I''m trying to make clean efficient code and would like to find out if there is a "BEST" way to write code. I want this to run quickly and efficiently for my app. I''ve got a form that needs a select list created for new and edit functions. Same list. Do I do this in the controller and reference @list in the forms? def new @list = %w { apple orange banana }