[Rails] Re: Drop down box in ruby

2010-08-03 Thread Chad Weier
How would I get a select box to list -minute -hour -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from

Re: [Rails] Re: Drop down box in ruby

2010-08-03 Thread lucas franceschi
i didn't understand that... try to explain me some things... i would be pleased to help. so, you want a ComboBox that shows what? the values in the array? if it is so, you may want to populate this array in the controller, and iterate it in the view, adding values for each item in your array.

[Rails] Re: Drop down box in ruby

2010-08-03 Thread Bob Proulx
Chad Weier wrote: I have an class called time in my libs folder and I want to call an array from this class and populate a drop down box/select box in rails in one of my view pages. everything online is so confusing regarding this.. There are multiple ways of invoking the helpers to produce