Thanks,
I had to place everything in form_tag and everything else worked fine.
Now I have all values in Parameters list

On Apr 22, 10:32 am, soldier <[email protected]> wrote:
> how about the rails api doc ?
>
> 2010/4/22 Prashant <[email protected]>:
>
>
>
>
>
> > I wish to have an option in my application where user can select a
> > value from Combo Box shown in a page and on clicking of button this is
> > passed as parameters to another controller. There will be 4 combo
> > boxes on the selection page. I am using select_tag to populate data
> > from database
>
> > Something like
>
> > Town <%= select_tag(:town, "<option>-Select a Town</option>" +
> > options_from_collection_for_select(@towns, :NAME, :NAME)) %>
>
> > Can you please suggest what is the method to do it ?
> > I am not able to find some clear guidelines for the same, I am new to
> > web development so maybe I am searching at wrong place.
>
> > --
> > 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 
> > athttp://groups.google.com/group/rubyonrails-talk?hl=en.
>
> --
> 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 
> athttp://groups.google.com/group/rubyonrails-talk?hl=en.

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