title: Rails 4 validate uniqueness with hash scope deprecated
body: <p>In Rails 3.2 I have this syntax:</p>
  
  <pre><code>validates_uniqueness_of :sport_name, :scope =&gt; :sports_org_id
  </code></pre>
  
  <p>This is now deprecated in rails 4 but i can't figure out the new syntax. I want to validate both presence and uniqueness for a data field.</p>