<%= collection_select(:project, :id,{@arc_projects),:id,:name,options
={:prompt => "--Archived Projects--"})%> <br>
 i use  this code to retrive archieved project.and its works also..
  but if i want to show a dropdown which can take multiple collection
like this below code,but it will not work.
 is it is possible in ruby??anybody help me??its urgent.
<%= collection_select(:project,
:id,{@arc_projects,@inactive_projects},:id,:name,options ={:prompt =>
"--Archived Projects--"})%> <br>
if it is possible then what is the write code...pls help urgent...
-- 
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---