title: Is there a way to set required attribute on text_field_tag?
body: <p>In <code>text_field</code> one can do the following to set the <code>required</code> attribute.</p>
  <blockquote>
  <p>&lt; %= f.text_field :street, :required =&gt; true % &gt;</p>
  <p>&lt; input id=&quot;recipe_name&quot; name=&quot;recipe_name&quot; type=&quot;text&quot; required &gt;</p>
  </blockquote>
  <p>However, with <code>text_field_tag</code>, if I do the same the output html sets the value attribute instead, which is not correct.</p>
  <blockquote>
  <p>&lt; %= text_field_tag :street, :required =&gt; true % &gt;</p>
  </blockquote>
  <p>output:</p>
  <blockquote>
  <p>&lt; input id=&quot;recipe_name&quot; name=&quot;recipe_name&quot; type=&quot;text&quot; value=&quot;{:required=&gt;true}&quot; &gt;</p>
  </blockquote>
  <p>Is <code>required</code> not supported in <code>text_field_tag</code>?  What is a good way to work around it?</p>