Hello I've only been playing with ruby and rails for a few short weeks,

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..

Just say my array is like this
time = [[minute,min,20,50],[hour,hr,10,50]]

How would I get a select box to list
-minute
-second

Also where is the most correct places to put the method to call the
array in the rails application?

I would really appreciate someone helping me learn how to do this.
-- 
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 [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.

Reply via email to