title: Named_scope in rails unique records?
body: <p>Is it possible to have <code>named_scope</code> return records unique for a certain column?</p>
  
  <p>e.g</p>
  
  <pre><code>named_scope :unique_styles, :order =&gt;"title desc", :limit =&gt; 3
  </code></pre>
  
  <p>That will give me three styles but what if I want to make sure the title is different? In this case there may be three records with the same style, I want this named_scope to only give unique values of title.</p>
  
  <p>So <code>["style 1", "style 1", "style 1"]</code> isn't possible, it'll force itself to give <code>["style 1", "some style 2", "maybe another 3"]</code></p>
  
  <ul>
  <li>i think <code>group</code> may do it and I'm using that for now. If anyone has any comments regardless that'd be great.</li>
  </ul>