I'm trying to have selected or default value for a simple form collection like this:
= f.input :currency_symbol, collection: (Country.all.map{|c| "#
{c.currency_symbol}}), label: "Currency", input_html: {class: "
form-control chosen-select"}
and im trying to basically have a default value already selected. i tried specifying selected: '2', or default: '2' but nothing works. Both of these just select the first option in the collection list.
Any ideas? Thank you.