title: CarrierWave File Uploads not working in rails
body: <p>I need to upload image to my filme collection application
  i use carrierwave to do this (<a href="http://railscasts.com/episodes/253-carrierwave-file-uploads" rel="nofollow">follows the railscasts steps</a>)</p>
  
  <p>step 1 i add gem 'carrierwave', '~> 0.9' to my Gemfile then run bundle
  step 2  rails g uploader image then rails g scaffold filmes name moviestype after rake db
  step 3 rails g migration add_image_to_filmes image:string and then rake db</p>
  
  <p>other step are same as railscasts</p>
  
  <p>in my filme modle</p>
  
  <pre><code>attr_accessible :name, :moviestype, :image
    mount_uploader :image, ImageUploader
  </code></pre>
  
  <p>in my _form.html.erb</p>
  
  <pre><code>&lt;%= form_for @filme, :html =&gt; {:multipart =&gt; true} do |f| %&gt;
    &lt;% if @filme.errors.any? %&gt;
      &lt;div id="error_explanation"&gt;
        &lt;h2&gt;&lt;%= pluralize(@filme.errors.count, "error") %&gt; prohibited this filme from being saved:&lt;/h2&gt;
  
        &lt;ul&gt;
        &lt;% @filme.errors.full_messages.each do |msg| %&gt;
          &lt;li&gt;&lt;%= msg %&gt;&lt;/li&gt;
        &lt;% end %&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;% end %&gt;
  
    &lt;div class="field"&gt;
      &lt;%= f.label :name %&gt;&lt;br&gt;
      &lt;%= f.text_field :name %&gt;
    &lt;/div&gt;
    &lt;div class="field"&gt;
      &lt;%= f.label :moviestype %&gt;&lt;br&gt;
      &lt;%= f.text_field :moviestype %&gt;
    &lt;/div&gt;
    &lt;div class="field"&gt;
     &lt;br&gt;
      &lt;%= f.file_field :image %&gt;
    &lt;/div&gt;
  
    &lt;div class="actions"&gt;
      &lt;%= f.submit %&gt;
    &lt;/div&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>in show.html.erb</p>
  
  <pre><code>&lt;p id="notice"&gt;&lt;%= notice %&gt;&lt;/p&gt;
  
  &lt;p&gt;
    &lt;strong&gt;Name:&lt;/strong&gt;
    &lt;%= @filme.name %&gt;
  &lt;/p&gt;
  
  &lt;p&gt;
    &lt;strong&gt;Moviestype:&lt;/strong&gt;
    &lt;%= @filme.moviestype %&gt;
  &lt;/p&gt;
  &lt;%= image_tag @filme.image_url(:thumb) if @filme.image? %&gt;
  
  &lt;%= link_to 'Edit', edit_filme_path(@filme) %&gt; |
  &lt;%= link_to 'Back', filmes_path %&gt;
  </code></pre>
  
  <p>problem is it didn't upload any image but film name and other fields are inserting to db.how can i fix this ?need quick help.</p>