Thanks for reply .. already read .. Is dere any type of mishappening is happening .. I mean if i am storing values in array as string ..
>> Is dere any way to give default value or value to select tags .. >> My scenario is:- >> >> <% value_array = [1, 2, 3, 4, 5] %> >> <select name="abc[def]"> >> � <%= options_for_select (value_array) %> >> </select> >> > Read the docs for options_for_select > > Fred -- 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-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---