I have an array:
@positions = ["external_footer", "external_top_menu", "external_side_menu"]
I want to create a select box so it produces humanized value for option and original value for option value. So i want something like that:
<option value="external_footer">External Footer</option>
Right now i am doing it like so:
= f.input :position, collection: @positions.collect{|position| { position => position.humanize}}
But it does not work.