title: Override Rails Uploader to seed database
body: <p>I have a CarrierWave rails uploader. I want to seed the database with fake users so I'm trying to add the images in with the same seed file. The images are in a common storage, so if I can just get the avatar strings in the database they'll work. When it saves the users though the image's aren't sticking.</p>
  
  <pre><code># db/seeds.rb
  user1 = User.create :email =&gt; "test1@test.com", :password =&gt; "testing", :name =&gt; "Bob Dylan", :avatar =&gt; "v1357014344/bdylan.jpg"
  user1.save
  
  # IRB
  User.first
  =&gt; #&lt;User id: 1, email: "test1@test.com", name: "Bob Dylan", avatar: nil&gt; 
  
  &gt; a = User.first
  &gt; a.avatar = "v1357014344/bdylan.jpg"
  &gt; a.save
   (10.7ms)  commit transaction
  =&gt; true 
  &gt; a
  =&gt; #&lt;User id: 1, email: "test1@test.com", name: "Bob Dylan", avatar: nil&gt; 
  </code></pre>