title: Is there a way to submit ajax/json requests with simple_form for Rails
body: <p>With the standard Rails form_for, I was able to pass ajax requests though select and collection_select helpers as such:</p>
  
  <pre><code>&lt;%= address.collection_select :country, @countries, :id, :name, {:include_blank =&gt; false}, "data-remote" =&gt; true, "data-url" =&gt; "/ajax/states", "data-type" =&gt; :json  %&gt;
  </code></pre>
  
  <p>I can't seem to figure out how to do this with <a href="https://github.com/plataformatec/simple_form" rel="noreferrer">simple_form</a></p>