how about the rails api doc ?

2010/4/22 Prashant <prashant.thak...@gmail.com>:
> 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 rubyonrails-t...@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.
>
>

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

Reply via email to