I have an input which I render :as => :select. I would like one option to be selected as default. How would I go about that?
Thanks, Hendrik
So set a preselected answer you have to associate your object with the desired value.
countries = ['USA','Germany']
@user.country = countries.first
That works for me.