title: How to use the format value passed into the URL?
body: <p>I'm trying to use ,value => x function for a field. To autocomplete the box field.</p>
  
  <p>So to do that, I'm doing the following :</p>
  
  <pre><code>new_company_path(@compy = @pars4)
  </code></pre>
  
  <p>Which permit me to save the value that I want into the URL. And this is working, I currently have my url.@compy</p>
  
  <p>But now, I would like to use this value into my new_company view. I'd try a different method like:</p>
  
  <pre><code>&lt;%= f.text_field :name, :value =&gt; @compy.to_s %&gt;
  </code></pre>
  
  <p>But is still not working. I can see that the value is saved into a "format", but I don't now how to access it. So if you have any tricks to do that, it will be really helpful. Thanks for your time</p>