how to disable select menu

<%=userinfo.select :profile,Profile.find(:all,:conditions => {:role_type
=> "AC"}).collect {|c| [ c.name, c.id ] },{},{:class => "companyselect"}
%>
how to disable the above select menu ...
i can able to disable the text field tag like below
<%=text_field_with_auto_complete :company_info, :name,:value =>
"#{@companyinfo.name}",:disabled => true%>
Any helps for my query..
Thanks

Hi,

 Are you looking at disabling the whole select menu or only few of the options? The following link might have the one your looking into:

http://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html

Best Wishes,
Saideep Annadatha
whol.ly
http://saideep.tk