title: how to set "data-" of rails f.select
body: <p>I use rails 4.</p>
  
  <pre><code>&lt;%= f.select :industry_id, options_from_collection_for_select([], "id", "name"),
  'data-option-dependent' =&gt; true,
  'data-option-observed' =&gt; 'pre_industry_id',
  'data-option-url' =&gt; '/industries/:pre_industy_id:/sub_industry.json',
  'data-option-key-method' =&gt; :id,
  'data-option_value-method' =&gt; :name %&gt;
  </code></pre>
  
  <p>but...</p>
  
  <p>In result, data-attributes don't appear.</p>
  
  <pre><code>&lt;select id="review_industry_id" name="review[industry_id]"&gt;&lt;/select&gt;
  </code></pre>