You are here: Forums Ask a Rails expert Select_tag and multiple select...
Posted in Forums : Ask a Rails expert
Authority 0
Posting Rating 0
Sign in to rate this post
|
Dear frineds, I have a code like this: <%= select_tag “interviewuser_ids”, options_for_select(Role.get_hr_officers.collect{ |p| [p.full_name, p.id] }, niz), where niz is Array of id’s which should be selected. Anyone with suggestion? |
Authority 25
Posting Rating 50
Sign in to rate this post
|
There is a post on the Ruby forum http://www.ruby-forum.com/topic/107808 select_tag :order_hours, options_for_select(filter_hours, |
Ask a Rails expert : How to parse <pubdate> in RSS
Ask a Rails expert : Couldn't find Product without an ID
Ask a Rails expert : HTML to XML ---> get title & description
Ask a Rails expert : Accessing controller actions from scripted page?
Ask a Rails expert : seledted option for select_tag
Ask a Rails expert : Merging fields from two tables into one, including duplicates
Ask a Rails expert : saving has_many :through
Ask a Rails expert : Use Rails to develop sites for both Designer and Programmer
Ask a Rails expert : Rails+RS232
Ask a Rails expert : Is this a good way to add Admin section