I agree with Colin above. Make a model level method to return the data you wish to use in the view. Then within the view call ValidValues.method_you_make.
Like he said, another option is to put this code in the controller, but most of the time, the dropdown select menus have little to do with the rest of the controller function. So placing it in the controller (just to ensure proper MVC architecture) works but in my opinion gets to be a bit of overkill. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

