title: Why does carrierwave save a copy of the entire model?
body: <p>I have been using CarrierWave with AWS forever without issue, however in my latest project I simply cannot get it work.  The file uploads to AWS without any issue, however instead of saving the file location in the DB table, it store a copy of the entire model.  I when the page loads, I get an error because rails cannot figure out what to do with the data stored in the table<br>
  Check out below.. directly from rails console where <code>profile_picture</code> is the field using mounted to CarrierWave.</p>
  
  <p>It seeme like the entire object is being saved instead of a generated URL.  Does anyone have any thoughts on this?  </p>
  
  <pre><code>dog = Dog.first
  =&gt; #&lt;Dog id: 2, user_id: nil, name: "Lentil", profile_picture: "971935_556519314400437_65392555_n.jpg", breed_id: 2, 
  color: "fawn with black mask", age: 1, gender: "m", created_at: "2013-08-03 17:57:00", updated_at: "2013-08-03 18:12:33"&gt;
  
  dog.profile_picture
  =&gt; #&lt;ImageUploader:0x007f83388b70f0 @model=#&lt;Dog id: 2, user_id: nil, name: "Lentil", profile_picture: "971935_556519314400437_65392555_n.jpg", breed_id: 2, color: "fawn with black mask", age: 1, gender: "m", created_at: "2013-08-03 17:57:00", updated_at: "2013-08-03 18:12:33"&gt;, @mounted_as=:profile_picture, @storage=#
  &lt;CarrierWave::Storage::Fog:0x007f83388b6b50 @uploader=#&lt;ImageUploader:0x007f83388b70f0 ...&gt;, @connection=#&lt;Fog::Storage::AWS::Real:0x007f8336d5e3d0 @aws_access_key_id="xxx", @aws_secret_access_key="xxx", @hmac=#&lt;Fog::HMAC:0x007f8336d5e100 @key="xxx", @digest=#&lt;OpenSSL::Digest::Digest: xxx&gt;, @signer=#&lt;Proc:0x007f8336d5ddb8@/app/vendor/bundle/ruby/2.0.0/gems/fog-0.9.0/lib/fog/core/hmac.rb:22 
  (lambda)&gt;&gt;, @endpoint=nil, @host="s3.amazonaws.com", @path="/", @port=443, @scheme="https", @connection=#&lt;Fog::Connection:0x007f8336d5db10 @excon=#&lt;Excon::Connection:0x007f8336d5d8b8 @connection={:headers=&gt;{}, :host=&gt;"s3.amazonaws.com", :mock=&gt;nil, :path=&gt;"/", :port=&gt;"443", :query=&gt;nil, :scheme=&gt;"https"}, @socket_key="s3.amazonaws.com:443"&gt;, @persistent=true&gt;&gt;&gt;, @file=#&lt;CarrierWave::Storage::Fog::File:0x007f83388b6510 @uploader=#&lt;ImageUploader:0x007f83388b70f0 
  ...&gt;, @base=#&lt;CarrierWave::Storage::Fog:0x007f83388b6b50 @uploader=#&lt;ImageUploader:0x007f83388b70f0 ...&gt;, @connection=#&lt;Fog::Storage::AWS::Real:0x007f8336d5e3d0 @aws_access_key_id="xxx", @aws_secret_access_key="xxx", @hmac=#&lt;Fog::HMAC:0x007f8336d5e100 @key="xxx", @digest=#&lt;OpenSSL::Digest::Digest: xxx&gt;, @signer=#&lt;Proc:0x007f8336d5ddb8@/app/vendor/bundle/ruby/2.0.0/gems/fog-0.9.0/lib/fog/core/hmac.rb:22 
  (lambda)&gt;&gt;, @endpoint=nil, @host="s3.amazonaws.com", @path="/", @port=443, @scheme="https", @connection=#&lt;Fog::Connection:0x007f8336d5db10 @excon=#&lt;Excon::Connection:0x007f8336d5d8b8 @connection={:headers=&gt;{}, :host=&gt;"s3.amazonaws.com", :mock=&gt;nil, :path=&gt;"/", :port=&gt;"443", :query=&gt;nil, :scheme=&gt;"https"}, @socket_key="s3.amazonaws.com:443"&gt;, @persistent=true&gt;&gt;&gt;, @path="uploads/dog/profile_picture/2/971935_556519314400437_65392555_n.jpg"&gt;, @versions={}&gt;
  </code></pre>