title: Validate Uniqueness and Edit Form in Rails
body: <p>I have a form.
  Same form is used for creating and editing...</p>
  
  <p>In my model</p>
  
  <pre><code>validate_uniqueness_of :empID
  </code></pre>
  
  <p>is present..
  and in my form on updating, I get the error that empID is already taken..
  Is there any way i can exclude this validation in editing..</p>