title: Rails autocomplete - customize behavior to list all items before entering
body: <p>I'm trying to implement autocomplete with special behaviour for a field in Rails 3.2.  I'm using the rails autocomplete gem and what I want to do is:</p>
  
  <p>There is a field in a form which I want the autocomplete to work on which contains qty and the type of qty for a recipe ingredient.  Three different examples of an input:</p>
  
  <pre><code>100 gramms
  2 pices
  3.2 kilos
  </code></pre>
  
  <p>I want the behaviour to have the dropdown when the user presses space with all available options in the list.  When the user enters another key the list would of course filter on that input.</p>
  
  <p>Is it possible to customize the rails autocomplete for the above behaviour?</p>