title: Uninitialized Variable after deleting hyrax work
body: <p>I'm working on a hyrax project, after creating a work type with rails with the following command</p>
  
  <pre><code> $ bin/rails generate hyrax:work GenericWork
  </code></pre>
  
  <p>I try to delete the work type with the following commands</p>
  
  <pre><code>$ bin/rails destroy hyrax:work GenericWork    
  $ rake db:rollback
  </code></pre>
  
  <p>but I keep getting the error</p>
  
  <pre><code>Routing error:
  Uninitialized constant GenericWork
  </code></pre>
  
  <p>after I delete it with the commands above.</p>
  
  <p>Why is it ?</p>