Select Helper with html option

hi iam trying to put some html option in the select helper like this

<%= select(‘personnel’, ‘department’, %w{Accounting Executive Export
I.T. HR Marketing Logistics Production Purchasing R&D Sales},
html_options = {size = 30}) %>

I think it is not the right way. How do I do it? And what are the
options we can use in the options and html_options parameter.

Thanks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs