I have tried many times to save new image after carrierwave keep file after validation fail, but not success.
<%= form_for @user, :html => {:multipart => true} do |f| %>
<p>
<label>My Avatar</label>
<%= f.file_field :avatar %>
<%= f.hidden_field :avatar_cache %>
</p>
<% end %>
I had to sanitize parameter for :avatar, :avatar_cache, ...
It has still display new image ,but when i save the form the new image not saved.