form_forの中にdata-bindを組み込むには以下のようにする。
text_fieldの場合(’data-bind’だけだど分かりづらいので’form-control’というclass指定も入れている)
<%= f.text_field :hoge, :class=>“form-control”, ‘data-bind’=>”value: hogehoge” %>
selectの場合
<%= f.select :hoge, options\_for\_select(1..20), {}, {:class=>“form-control”, ‘data-bind’=>”value: hogehoge”} %>