title: Ruby on Rails, ActiveRecord, Binary search
body: <p>If I had the following table.</p>
  
  <pre><code>create_table :my_table, :id =&gt; false do |t|
     t.string :key_column
     t.string :value_column
  end
  </code></pre>
  
  <p>How would I ensure that the rows are optimaly <strong>stored</strong> for binary search by the field of :key?</p>
  
  <p>And how would I make sure binary search is used?</p>